<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Hey Johan,</tt></p>
<p><tt>The code you're mentioning actually made it into upstream
OpenSIPS. See the<br>
net/net_tcp.c and net/net_tcp_proc.c files for examples on how
the "shl_init()",<br>
"sh_push()" and "sh_log()" API is being used to log each phase
that a TCP connection<br>
is going through.</tt></p>
<p><tt>And the cool part is that by commenting -DDBG_TCPCON in
Makefile.conf, all this<br>
troubleshooting code suddenly disappears :)</tt></p>
<p><tt>Cheers,</tt><br>
</p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 13.11.2019 15:31, Johan De Clercq
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEVWGm_nEBEMVRFi6-wV+0UZzxvf_y097eO7H5ybeoXMoOSf=Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi, <br>
</div>
<div><br>
</div>
<div>this post is about struct history support. <br>
</div>
<div>Is there any chance to share some example code of the case
mentioned in the final part ? <br>
</div>
<div><br>
</div>
<div>BR, <br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>