[OpenSIPS-Devel] [OpenSIPS/opensips] 167366: Add conn_init() and conn_clean() per connection.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Feb 9 12:50:43 CET 2015


  Branch: refs/heads/transport-interface
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 167366320e35d639648b6d8e4a1aa12f427a435f
      https://github.com/OpenSIPS/opensips/commit/167366320e35d639648b6d8e4a1aa12f427a435f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
    M main.c
    M net/api_proto_net.h
    M net/net_tcp.c
    M net/proto_tcp/proto_tcp.c
    M net/tcp_conn_defs.h

  Log Message:
  -----------
  Add conn_init() and conn_clean() per connection.

Network layer triggers corresponding (to proto) init() and clean() functions when creating or trashing a TCP connection.
For TCP plain, the handling of data chunks (pending writes) moved into these new function, independent of the TCP network layer.




More information about the Devel mailing list