Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f26dcd447e41865912df42400657fe2d9f5f4b30
      
https://github.com/OpenSIPS/opensips/commit/f26dcd447e41865912df42400657fe2d9f5f4b30
  Author: Darwvin <[email protected]>
  Date:   2026-10-08 (Thu, 08 Oct 2026)

  Changed paths:
    M modules/tls_mgm/README.md
    A modules/tls_mgm/test/opensips.cfg
    A modules/tls_mgm/test/test.c
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: add TLS handshake outcome and latency statistics

Export backend independent (OpenSSL and wolfSSL) handshake statistics:
attempts, successes, failures, aborted, client vs server attempts,
peer verified vs unverified, handshakes in progress and the cumulative
handshake duration in microseconds.

Each handshake is tracked once per TCP connection in a shared memory
table sharded into 64 locked buckets by connection id, so a handshake
spanning several non-blocking calls is counted exactly once and
unrelated handshakes do not contend on a single lock. Latency uses the
monotonic clock, and the tracker is only touched while a handshake is
pending, so I/O on established connections has no extra cost.

Co-Authored-By: Claude Opus 5.5 <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to