[OpenSIPS-Devel] [OpenSIPS/opensips] 3767f3: Fix the TCP forking sequence.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Sep 19 18:08:39 CEST 2016


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3767f332caa341b55bc135d719c70e388a4ac865
      https://github.com/OpenSIPS/opensips/commit/3767f332caa341b55bc135d719c70e388a4ac865
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M main.c
    M net/net_tcp.c
    M net/net_tcp.h

  Log Message:
  -----------
  Fix the TCP forking sequence.

Keep the TCP-main the last forked process, to be sure it inherits all the communication sockets from all other OpenSIPS processes.
Credits go to Razvan for reporting.
Alternative fix for 9fd451fd684ed3c9133bcc0e896de8d28ad45208

(cherry picked from commit c2e2a0f141d11a972705f1555d0e2a23ec3f01ed)


  Commit: e77626e45dd58c435c11a5067ac6feb913d0057e
      https://github.com/OpenSIPS/opensips/commit/e77626e45dd58c435c11a5067ac6feb913d0057e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fix starting TCP processes.

Do not start TCP main if tcp is disabled - this was introduced with the previous commit, when we split the starting of TCP workers and TCP main (see c2e2a0f141d11a972705f1555d0e2a23ec3f01ed).

(cherry picked from commit 542a9c98844bffec96d7cc790c37ef842b43ee66)


  Commit: 73710a7c00303407518392f70e0aa6806bf664c1
      https://github.com/OpenSIPS/opensips/commit/73710a7c00303407518392f70e0aa6806bf664c1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M timer.c

  Log Message:
  -----------
  Fix async resume in the timer dedicated timer.

The timer dedicated timer may end up running script routes (like failure route), so it may trigger some async operations. So, the dedicated timer process must be async enabled.

(cherry picked from commit 91e87f18d48b9e66cd052e825ae1f2f3c061955f)


  Commit: 8aebdcbe801bbb4514c2a39a80a644ba1ff085c1
      https://github.com/OpenSIPS/opensips/commit/8aebdcbe801bbb4514c2a39a80a644ba1ff085c1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M timer.c

  Log Message:
  -----------
  Merge previous cherry-pick from trunk


Compare: https://github.com/OpenSIPS/opensips/compare/7080dda43ee3...8aebdcbe801b


More information about the Devel mailing list