<p>Hi Dan,</p>

<p>The module seemed to mishandle scenarios with local HTTP servers, where sometimes there might not even be a need for stop-resume, since the response may arrive almost immediately after the libcurl <strong>perform</strong> operation.</p>

<p>I've prepared a patch for this for the 2.1 branch. Could you please test it out, and see if it improves things? <a href="https://gist.github.com/liviuchircu/9452e4b8964b226043d6">https://gist.github.com/liviuchircu/9452e4b8964b226043d6</a></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/493#issuecomment-99103744">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciYDffSLjhGei5S_tnvLJUKNDPCwgks5oGNEVgaJpZM4EOTy5.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/493#issuecomment-99103744"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>