[OpenSIPS-Devel] [OpenSIPS/opensips] f1b092: TCP Profiles/tcp_mgm: Add support for custom attri...

Liviu Chircu noreply at github.com
Tue Apr 19 17:52:45 UTC 2022


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

  Changed paths:
    M db/schema/tcp_mgm.xml
    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_plain.c
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/ws_handshake_common.h
    M modules/tcp_mgm/tcp_db.c
    M modules/tcp_mgm/tcp_db.h
    M modules/tcp_mgm/tcp_mgm.c
    M modules/tcp_mgm/tcp_path.c
    M net/proto_tcp/proto_tcp.c
    M net/tcp_conn_defs.h
    M net/tcp_conn_profile.c
    M net/tcp_conn_profile.h
    M scripts/db_berkeley/opensips/tcp_mgm
    M scripts/dbtext/opensips/tcp_mgm
    M scripts/mysql/tcp_mgm-create.sql
    M scripts/oracle/tcp_mgm-create.sql
    M scripts/pi_http/pi_framework.xml
    M scripts/pi_http/tcp_mgm-mod
    M scripts/pi_http/tcp_mgm-table
    M scripts/postgres/tcp_mgm-create.sql
    M scripts/sqlite/tcp_mgm-create.sql

  Log Message:
  -----------
  TCP Profiles/tcp_mgm: Add support for custom attributes

Using an "attrs" URI params field, various modules may now inject some
of their own properties into a TCP connection profile, which may not be
powerful enough to be represented as a separate column of the profile.
Still, this feature allows developers to customize even those properties
on a per-connection level, rather than global level.

For now, only the "xxx_max_msg_chunks" settings of various TCP-based
proto modules may be included in the new "attrs" URI params column of
tcp_mgm, using a value of, e.g. "max_msg_chunks=10".  Int values only.





More information about the Devel mailing list