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
_______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
