Module: kamailio Branch: master Commit: 78c475d03c94067aaa064ba1cdba6d27807fd4c9 URL: https://github.com/kamailio/kamailio/commit/78c475d03c94067aaa064ba1cdba6d27807fd4c9
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-02-08T15:45:40+01:00 core: tcp - added fields for server name and id in connection info --- Modified: src/core/tcp_conn.h --- Diff: https://github.com/kamailio/kamailio/commit/78c475d03c94067aaa064ba1cdba6d27807fd4c9.diff Patch: https://github.com/kamailio/kamailio/commit/78c475d03c94067aaa064ba1cdba6d27807fd4c9.patch --- diff --git a/src/core/tcp_conn.h b/src/core/tcp_conn.h index 22bce5441f4..0275c032956 100644 --- a/src/core/tcp_conn.h +++ b/src/core/tcp_conn.h @@ -29,6 +29,7 @@ #include "tcp_init.h" #include "tcp_options.h" +#include "str.h" #include "ip_addr.h" #include "locking.h" #include "atomic_ops.h" @@ -271,6 +272,8 @@ typedef struct ksr_coninfo unsigned short dst_port; /* host byte order */ int proto; socket_info_t *csocket; + str server_name; /* outbound tls server name (sni) */ + str server_id; /* outbound tls server id */ } ksr_coninfo_t; @@ -284,7 +287,7 @@ typedef struct tcp_connection enum tcp_closed_reason event; /* connection close reason */ int reader_pid; /* pid of the active reader process */ struct receive_info rcv; /* src & dst ip, ports, proto a.s.o*/ - ksr_coninfo_t cinfo; /* connection info (e.g., for haproxy ) */ + ksr_coninfo_t cinfo; /* additional info (for haproxy, tls, ...) */ struct tcp_req req; /* request data */ atomic_t refcnt; enum sip_protos type; /* PROTO_TCP or a protocol over it, e.g. TLS */ _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
