[OpenSIPS-Devel] [OpenSIPS/opensips] 0aa8e9: TCP Engine: Add support for TCP connection profiles

Liviu Chircu noreply at github.com
Wed Apr 13 15:19:34 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0aa8e9514ecc388a186884f83f7c6feeb3509123
      https://github.com/OpenSIPS/opensips/commit/0aa8e9514ecc388a186884f83f7c6feeb3509123
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M cfg.y
    M core_cmds.c
    M globals.h
    M modules/cgrates/cgrates_common.h
    M modules/cgrates/cgrates_engine.c
    M modules/proto_bin/bin_common.h
    M modules/proto_bin/proto_bin.c
    M modules/proto_bins/proto_bins.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_msrp/msrp_common.c
    M modules/proto_msrp/msrp_plain.c
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_smpp/smpp.c
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_ws/ws_common.h
    M modules/proto_ws/ws_handshake_common.h
    M modules/proto_ws/ws_tcp.c
    M modules/proto_ws/ws_tcp.h
    M modules/proto_wss/proto_wss.c
    M net/net_tcp.c
    M net/net_tcp.h
    M net/net_tcp_proc.c
    M net/proto_tcp/proto_tcp.c
    M net/proto_tcp/tcp_common.h
    M net/tcp_common.c
    M net/tcp_common.h
    M net/tcp_conn_defs.h
    A net/tcp_conn_profile.c
    A net/tcp_conn_profile.h
    M receive.c
    M sr_module.h

  Log Message:
  -----------
  TCP Engine: Add support for TCP connection profiles

A TCP connection profile is a structure which currently holds 10
individually customizable TCP connection settings:
   - connect_timeout, con_lifetime, msg_read_timeout
   - send_threshold, no_new_conn, alias_mode
   - keepalive, keepcount, keepidle, keepinterval

By default, the standard connection profile will simply contain values
taken from the current TCP global parameters, for full
backwards-compatibility.

Building on top of this, modules may now override the connection profile
matching function, allowing full customization of various TCP paths, as
matched by the (protocol, remote_addr, local_addr) tuple.





More information about the Devel mailing list