[sr-dev] Bug in mediaproxy module

Juha Heinanen jh at tutpro.com
Thu Dec 13 13:02:58 CET 2012


Emil Kroymann writes:

> 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.

emil,

i just applied your patch to master although i don't understand it.
after patch, less connections are opened to dispatcher.  why are you
saying that before there was only one?

-- juha



More information about the sr-dev mailing list