Richard Mudgett
30cd559345
DNS: Need to use the same serializer for a pjproject SIP transaction.
...
All send/receive processing for a SIP transaction needs to be done under
the same threadpool serializer to prevent reentrancy problems inside
pjproject when using an external DNS resolver to process messages for the
transaction.
* Add threadpool API call to get the current serializer associated with
the worker thread.
* Pick a serializer from a pool of default serializers if the caller of
res_pjsip.c:ast_sip_push_task() does not provide one.
This is a simple way to ensure that all outgoing SIP request messages are
processed under a serializer. Otherwise, any place where a pushed task is
done that would result in an outgoing out-of-dialog request would need to
be modified to supply a serializer. Serializers from the default
serializer pool are picked in a round robin sequence for simplicity.
A side effect is that the default serializer pool will limit the growth of
the thread pool from random tasks. This is not necessarily a bad thing.
* Made pjsip_resolver.c use the requesting thread's serializer to execute
the async callback.
* Made pjsip_distributor.c save the thread's serializer name on the
outgoing request tdata struct so the response can be processed under the
same serializer.
ASTERISK-25115 #close
Reported by: John Bigelow
Change-Id: Iea71c16ce1132017b5791635e198b8c27973f40a
2015-06-10 19:22:13 -05:00
..
2015-05-13 21:55:07 -04:00
2015-05-22 11:13:34 -05:00
2015-05-04 20:47:01 -04:00
2015-06-10 19:22:13 -05:00
2015-05-13 21:55:07 -04:00
2015-06-02 19:27:28 +02:00
2015-04-13 03:48:57 -04:00
2015-04-14 12:53:03 -04:00
2015-04-14 12:53:03 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-22 11:13:34 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-04 20:47:18 -04:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-26 16:48:27 -04:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-04 20:47:18 -04:00
2015-04-23 06:30:29 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-14 10:57:04 -05:00
2015-05-13 16:34:23 -05:00
2014-07-18 15:49:46 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-22 22:30:22 -05:00
2015-05-13 16:34:23 -05:00
2014-03-28 18:32:50 +00:00
2015-04-13 03:48:57 -04:00
2015-05-20 14:47:28 -05:00
2014-06-26 18:27:53 +00:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-04-27 18:37:26 -04:00
2015-04-13 03:48:57 -04:00
2015-05-21 18:18:57 -05:00
2015-04-13 03:48:57 -04:00
2014-01-06 17:45:25 +00:00
2015-05-13 16:34:23 -05:00
2015-05-04 20:47:01 -04:00
2015-05-13 16:34:23 -05:00
2014-10-09 17:46:23 +00:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-15 17:19:49 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-02 02:22:31 -05:00
2015-06-03 17:41:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-22 12:23:52 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-22 22:30:22 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2014-08-07 14:35:09 +00:00
2015-05-22 09:57:09 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-22 12:27:56 -05:00
2015-05-07 07:42:10 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-06-03 17:41:23 -05:00
2015-03-10 16:08:40 +00:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-06-10 17:00:39 +03:00
2015-05-13 16:34:23 -05:00
2015-06-10 19:22:13 -05:00
2013-11-23 17:26:57 +00:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-06-10 18:06:14 -05:00
2015-05-14 05:03:43 -05:00
2015-04-13 03:48:57 -04:00
2015-05-22 22:30:22 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-04-29 10:48:14 -05:00
2015-06-05 18:04:25 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-03-17 22:03:01 +00:00
2015-05-13 16:34:23 -05:00
2015-05-22 22:30:22 -05:00
2013-11-23 17:48:28 +00:00
2015-05-13 16:34:23 -05:00
2014-01-14 23:44:57 +00:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2013-11-23 12:40:46 +00:00
2015-05-19 21:11:21 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-22 22:30:22 -05:00