Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6108ee296fe372cb59719acde9499d0cbe8fbdc8 https://github.com/OpenSIPS/opensips/commit/6108ee296fe372cb59719acde9499d0cbe8fbdc8 Author: Liviu Chircu <li...@opensips.org> Date: 2024-07-22 (Mon, 22 Jul 2024)
Changed paths: M modules/proto_tls/proto_tls.c M net/api_proto_net.h M net/net_tcp_proc.c M net/proto_tcp/proto_tcp.c M net/proto_tcp/tcp_common.h Log Message: ----------- TCP: Fix race condition in "proto_tcp.tcp_parallel_handling" During F_TCPCONN handling by a TCP worker, the @con pointer must *not* be de-referenced if the READ was successful and connection already returned to TCP Main. This patch adds a new retcode to the tcp.read API function in order to achieve this. Credits to Yury Kirsanov and Bogdan Iancu for helping troubleshoot this issue! Commit: e496cfc28aa6e88259dd17054912f88859087534 https://github.com/OpenSIPS/opensips/commit/e496cfc28aa6e88259dd17054912f88859087534 Author: Liviu Chircu <li...@opensips.org> Date: 2024-07-22 (Mon, 22 Jul 2024) Changed paths: M lib/dbg/struct_hist.h M net/net_tcp.c Log Message: ----------- TCP debugging: Fine-tune TCP conn history settings * reduce logline buffer from 100 -> 80 * only keep the last 300 events per connection (down from 2000) * avoid auto-logging (flushing) of all TCP conn histories to syslog These changes should reduce the default TCP conn debugging footprint from ~2GB to ~0.3GB of shared memory, as well as clean up the logs. Commit: 9c5e1bc2c3376973511800161a342a9b3c66a8d5 https://github.com/OpenSIPS/opensips/commit/9c5e1bc2c3376973511800161a342a9b3c66a8d5 Author: Liviu Chircu <li...@opensips.org> Date: 2024-07-22 (Mon, 22 Jul 2024) Changed paths: A utils/gdb/debugging.gdb Log Message: ----------- Utils: Add a few gdb post-analysis scripts * SHM troubleshooting: "what are the most recent SHM allocation events around corrupted address X?" * TCP conn troubleshooting: "what was the chain of events on connection X, which ultimately lead to a crash?" Compare: https://github.com/OpenSIPS/opensips/compare/dc38cf3a1981...9c5e1bc2c337 To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel