[OpenSIPS-Devel] [OpenSIPS/opensips] 7edce0: Introducing I/O reactor in UDP listeners

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Oct 3 19:01:37 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7edce06c209cb2a33e877c5cb0277f8b42db10a4
      https://github.com/OpenSIPS/opensips/commit/7edce06c209cb2a33e877c5cb0277f8b42db10a4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M cfg.lex
    M cfg.y
    M globals.h
    M io_wait.c
    M io_wait.h
    A io_wait_loop.h
    M main.c
    M poll_types.h
    A reactor.c
    A reactor.h
    A reactor_defs.h
    M tcp_main.c
    M tcp_read.c
    M udp_server.c

  Log Message:
  -----------
  Introducing I/O reactor in UDP listeners


  Commit: 4c5e6ea7bb3908bba7771f307f9bec6a492599ec
      https://github.com/OpenSIPS/opensips/commit/4c5e6ea7bb3908bba7771f307f9bec6a492599ec
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M reactor.c
    M reactor.h
    M reactor_defs.h
    M timer.c
    M timer.h
    M udp_server.c

  Log Message:
  -----------
  Timer jobs are dispached via reactor to all workers.

Instead of running the timer jobs in dedicated timer processes, now we simply dispatche the jobs to all SIP workers processes.
Still need some working on priorities.
TCP workers still not running the "SIP worker" reactor, so no timer jobs in these processes for the moment.


  Commit: 68a04d0702d6fb7031cec551929f597fce05e6ba
      https://github.com/OpenSIPS/opensips/commit/68a04d0702d6fb7031cec551929f597fce05e6ba
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M reactor.h
    M reactor_defs.h
    M tcp_read.c
    M udp_server.c

  Log Message:
  -----------
  Add generic reactor support for the TCP processes.

"extra_loop" instruction can be forced in reactor to be executed in the loop;
TCP procs code migrated to the generic reactor;
FD del functions added to the reactor;
Timer jobs now also handled by the TCP processes;


  Commit: 6d7e826e88dd0ac4fc3d1322ee40aa10283d888c
      https://github.com/OpenSIPS/opensips/commit/6d7e826e88dd0ac4fc3d1322ee40aa10283d888c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M main.c
    M timer.c

  Log Message:
  -----------
  Timer system must be init after daemonize !!


  Commit: cca99b63dd783743e4bd5f8a1eca42e02f318a7d
      https://github.com/OpenSIPS/opensips/commit/cca99b63dd783743e4bd5f8a1eca42e02f318a7d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M io_wait.c
    M io_wait.h
    M io_wait_loop.h
    M reactor_defs.h
    M tcp_main.c
    M tcp_read.c
    M udp_server.c

  Log Message:
  -----------
  Reactors have names, easier for debugging purposes.


  Commit: caabbe53229bde6c1d939da2e5380e805b94b983
      https://github.com/OpenSIPS/opensips/commit/caabbe53229bde6c1d939da2e5380e805b94b983
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M db/db_insertq.c
    M io_wait.c
    M io_wait.h
    M io_wait_loop.h
    M modules/db_virtual/db_virtual.c
    M modules/dialog/README
    M modules/dialog/dialog.c
    M modules/dialog/doc/dialog_admin.xml
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/README
    M modules/nathelper/doc/nathelper_admin.xml
    M modules/nathelper/nathelper.c
    M modules/ratelimit/ratelimit.c
    M modules/tm/README
    M modules/tm/doc/tm_admin.xml
    M modules/tm/tm.c
    M pt.c
    M reactor.c
    M tcp_read.c
    M timer.c
    M timer.h
    M udp_server.c

  Log Message:
  -----------
  Removed the concept of timer routine per process.

This makes nosense now as the timer routines are dispatched across all the worker processes.


  Commit: 69f5cd91d631581ba107bff69a945f7dbea46e8d
      https://github.com/OpenSIPS/opensips/commit/69f5cd91d631581ba107bff69a945f7dbea46e8d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M Makefile
    M Makefile.defs
    M Makefile.modules
    M Makefile.rules
    M Makefile.sources

  Log Message:
  -----------
  Version increased from 1.12 to 2.1 for MASTER


Compare: https://github.com/OpenSIPS/opensips/compare/9e2a61669187...69f5cd91d631


More information about the Devel mailing list