Module: kamailio Branch: master Commit: 1d61bfa5c15b6d30ec0210d80f128e71af5e70dc URL: https://github.com/kamailio/kamailio/commit/1d61bfa5c15b6d30ec0210d80f128e71af5e70dc
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2025-08-01T11:32:00+02:00 tls: print process description in log messages --- Modified: src/modules/tls/tls_server.c --- Diff: https://github.com/kamailio/kamailio/commit/1d61bfa5c15b6d30ec0210d80f128e71af5e70dc.diff Patch: https://github.com/kamailio/kamailio/commit/1d61bfa5c15b6d30ec0210d80f128e71af5e70dc.patch --- diff --git a/src/modules/tls/tls_server.c b/src/modules/tls/tls_server.c index 8d323f7590e..3e5f796b7d3 100644 --- a/src/modules/tls/tls_server.c +++ b/src/modules/tls/tls_server.c @@ -686,7 +686,8 @@ void tls_h_tcpconn_clean_f(struct tcp_connection *c) * runs within global tcp lock */ if(!is_tcp_main() && !_ksr_is_main) { - LM_WARN("not in superviser or tcp main process\n"); + LM_WARN("not in superviser or tcp main process [%s]\n", + pt[process_no].desc); } if((c->type != PROTO_TLS) && (c->type != PROTO_WSS)) { BUG("Bad connection structure\n"); @@ -724,7 +725,8 @@ void tls_h_tcpconn_close_f(struct tcp_connection *c, int fd) * still be in a writer, so in this case locking is needed. */ if(!is_tcp_main() && !_ksr_is_main) { - LM_WARN("not in superviser or tcp main process\n"); + LM_WARN("not in superviser or tcp main process [%s]\n", + pt[process_no].desc); } DBG("Closing SSL connection %p\n", c->extra_data); if(unlikely(cfg_get(tls, tls_cfg, send_close_notify) && c->extra_data)) { _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!