[OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)
Ionut Ionita
notifications at github.com
Thu Dec 3 12:53:42 CET 2015
This pull requests adds the following:
* added a new status - ASYNC_CHANGE_FD which allows changing the file descriptor in the reactor if something goes wrong in the resume function, such that you can do failover
* added a state parameter for database async query - database engines can now use a parameter to hold state between the async call (async_raw_query) and the async resume (async_raw_resume)
* adapted sipcapture and avpops to the new functionalities
* db_virtual can now use the async raw query functionality; since mysql is the only engine that supports this, it will be the only one supported
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSIPS/opensips/pull/715
-- Commit Summary --
* add ASYNC_CHANGE_FD status in reactor
* hold db state between async call and resume function
* async support for db_virtual
-- File Changes --
M async.h (7)
M db/db.h (9)
M modules/avpops/avpops_impl.c (11)
M modules/avpops/avpops_impl.h (1)
M modules/db_mysql/dbase.c (4)
M modules/db_mysql/dbase.h (4)
M modules/db_virtual/README (6)
M modules/db_virtual/db_virtual.c (2)
M modules/db_virtual/db_virtual.h (6)
M modules/db_virtual/dbase.c (177)
M modules/db_virtual/dbase.h (15)
M modules/db_virtual/doc/db_virtual_admin.xml (15)
M modules/sipcapture/sipcapture.c (15)
M modules/sipcapture/sipcapture.h (1)
M modules/tm/async.c (51)
A modules/tm/async.c.orig (258)
M modules/tm/async.h (2)
M net/net_tcp_proc.c (12)
M net/net_udp.c (2)
-- Patch Links --
https://github.com/OpenSIPS/opensips/pull/715.patch
https://github.com/OpenSIPS/opensips/pull/715.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/715
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151203/99dc6779/attachment.htm>
More information about the Devel
mailing list