[OpenSIPS-Devel] [OpenSIPS/opensips] 065784: sipcapture: establish the procs number at parsing

Răzvan Crainea noreply at github.com
Mon Apr 19 15:00:53 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 065784586cd83fd6af53c7121763edcfa2ca999e
      https://github.com/OpenSIPS/opensips/commit/065784586cd83fd6af53c7121763edcfa2ca999e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  sipcapture: establish the procs number at parsing

Updating the number of extra procs needed by the module in mod_init() is
a bad idea, since the attendant does not see any changes made by the
process that runs mod_init, thus it waits for more children tha it
should have, resulting in some bad pipe errors.
Credits go to @ghmj2417 for reporting this in #2259 and to Bogdan
Andrei IANCU (@bogdan-iancu) for brainstorming the final solution.





More information about the Devel mailing list