[sr-dev] Bug in mediaproxy module
Emil Kroymann
emil.kroymann at isaco.de
Mon Dec 10 17:10:19 CET 2012
Hi,
the mediaproxy-module in 3.3 branch establishes a single shared
connection to the mediaproxy dispatcher socket before sip-router is
forking sub-processes. This leads to race-conditions when multiple
calls to use_mediaproxy() are made in parallel. The fix is simple, it
seems it was just forgotten to restrict the opening of the dispatcher
connection to subprocess initialization. Patch attached.
Regards,
Emil Kroymann
--
Emil Kroymann
VoIP Services Engineer
Email: emil.kroymann at isaco.de
Tel: +49-30-203899885
Mobile: +49-176-38389303
ISACO GmbH
Kurfürstenstraße 79
10787 Berlin
Germany
Amtsgericht Charlottenburg, HRB 112464B
Geschäftsführer: Daniel Frommherz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sip-router-3.3-mediaproxy-single-socket.patch
Type: text/x-patch
Size: 431 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20121210/4854ebf7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20121210/4854ebf7/attachment.pgp>
More information about the sr-dev
mailing list