<p>Hi:<br>
    here have some information about this bug.<br><br>
    use pjsip as sip client.  pjsip will sent "\r\n"  for tcp keepalive.<br>
    In opensips logs :<br>
    "/usr/sbin/opensips[264]: ERROR:core:tcp_read_req: bad request, state=0, error=2 buf:<a href="https://github.com/OpenSIPS/opensips/pull/12" class="issue-link" title="Install Notes">#12</a>#012parsed:<a href="https://github.com/OpenSIPS/opensips/pull/12" class="issue-link" title="Install Notes">#12</a>" <br>
    I assume when tcp read "\r\n" from sip client and  abnormal disconnect tcp, then may be have quit logic for this loop, so opensips log allways wirte that log forever</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/551#issuecomment-129720781">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcif2dIIZAehOvE-6wlvkgj4RqVjvBks5omYpUgaJpZM4E_bvj.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/551#issuecomment-129720781"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>