Fix race condition where duplicated requests may be handled by multiple threads.
authorMark Michelson <mmichelson@digium.com>
Fri, 14 Nov 2014 14:40:17 +0000 (14:40 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 14 Nov 2014 14:40:17 +0000 (14:40 +0000)
commit2454505d5a1d8e8d44a1ba7a5bcdd260ad4720c0
treec92afa2796b9a1579b931f3b934540a6605bd682
parent49b7a1cbafdc3dc439277701c50c9d85fb48a595
Fix race condition where duplicated requests may be handled by multiple threads.

This is the Asterisk 13 version of the patch. The main difference is in the pubsub
code since it was completely refactored between Asterisk 12 and 13.

Review: https://reviewboard.asterisk.org/r/4175
........

Merged revisions 427841 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip_pubsub.c
res/res_pjsip_session.c