[OpenSIPS-Users] https://blog.opensips.org/2017/07/13/hunting-down-complex-opensips-bugs-in-production-environments/

Liviu Chircu liviu at opensips.org
Wed Nov 13 08:42:19 EST 2019


Hey Johan,

The code you're mentioning actually made it into upstream OpenSIPS.  See the
net/net_tcp.c and net/net_tcp_proc.c files for examples on how the 
"shl_init()",
"sh_push()" and "sh_log()" API is being used to log each phase that a 
TCP connection
is going through.

And the cool part is that by commenting -DDBG_TCPCON in Makefile.conf, 
all this
troubleshooting code suddenly disappears :)

Cheers,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 13.11.2019 15:31, Johan De Clercq wrote:
> Hi,
>
> this post is about struct history support.
> Is there any chance to share some example code of the case mentioned 
> in the final part ?
>
> BR,
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191113/a12a3b5a/attachment-0001.html>


More information about the Users mailing list