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-04-12 07:12:45 -04:00
2015-04-13 03:48:57 -04:00
2015-06-05 11:23:16 -05:00
2015-04-13 03:48:57 -04:00
2015-04-30 10:43:51 -05:00
2014-05-09 22:49:26 +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-05-13 21:55:07 -04:00
2015-04-29 01:02:10 -04:00
2015-05-13 21:55:07 -04:00
2015-05-13 21:55:07 -04:00
2015-05-12 12:44:12 -04:00
2014-04-23 15:02:39 +00:00
2013-08-22 08:26:55 +00:00
2015-04-13 03:48:57 -04:00
2015-05-13 21:55:07 -04:00
2015-04-27 18:37:26 -04:00
2015-04-27 18:37:26 -04:00
2015-05-25 02:18:58 -05:00
2015-04-27 18:37:26 -04:00
2015-04-27 18:37:26 -04:00
2015-05-22 17:09:47 -05:00
2015-05-20 16:08:39 -05: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-05 18:23:38 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-16 16:53:44 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-17 15:58:07 -05:00
2015-05-15 09:59:29 -05:00
2015-04-13 03:48:57 -04:00
2015-04-27 18:37:26 -04:00
2015-05-02 19:31:12 -05:00
2015-04-13 03:48:57 -04:00
2015-06-05 02:17:59 -05: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-15 17:19:49 -05: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-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-17 15:58:07 -05:00
2015-04-15 10:47:53 -03:00
2015-04-13 03:48:57 -04:00
2015-06-10 18:06:15 -05:00
2015-04-13 03:48:57 -04:00
2015-05-10 10:39:32 -03:00
2015-04-10 13:32:24 +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-05-29 14:52:41 -05:00
2015-04-13 03:48:57 -04:00
2015-04-23 11:39:13 -05:00
2014-11-17 16:58:52 +00:00
2015-05-02 19:31:12 -05:00
2015-05-20 19:10:49 -05:00
2015-04-13 03:48:57 -04:00
2015-04-27 18:37:26 -04:00
2015-05-04 18:45:28 -06:00
2015-04-13 03:48:57 -04:00
2015-05-03 21:09:41 -05: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-17 15:58:07 -05:00
2015-05-13 21:55:07 -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-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-05 11:38:54 -05:00
2015-04-27 18:37:26 -04:00
2015-04-13 03:48:57 -04:00
2015-05-20 21:22:39 -05:00
2015-06-05 11:23:16 -05:00
2015-04-13 03:48:57 -04:00
2015-06-08 09:44:04 -05:00
2015-05-26 16:47:55 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-06 06:32:54 -03:00
2015-04-17 15:58:07 -05:00
2015-04-13 03:48:57 -04:00
2014-07-20 22:06:33 +00:00
2015-05-14 11:25:09 -05: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-04 20:47:01 -04:00
2015-06-08 11:09:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-06-08 09:44:04 -05:00
2015-04-13 03:48:57 -04:00
2015-05-04 18:45:28 -06:00
2015-04-13 03:48:57 -04:00
2015-05-20 23:27:42 +02:00
2015-05-21 05:15:41 -05:00
2015-04-23 11:39:13 -05: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-26 07:46:36 -05:00
2015-03-26 22:24:26 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-29 14:52:41 -05:00
2015-04-13 03:48:57 -04:00
2015-06-08 09:44:04 -05:00
2015-05-26 16:47:55 -05: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-22 22:30:22 -05: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-06-10 12:17:02 -05:00
2015-06-02 11:53:17 -05:00
2015-04-13 03:48:57 -04:00
2015-05-01 22:17:17 -05:00
2015-05-04 17:14:57 -05:00
2015-06-10 19:22:13 -05: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
2014-08-21 14:42:12 +00:00
2015-06-08 09:44:04 -05:00
2014-12-17 10:23:32 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00