<p>The purpose of this feature is to eliminate the TCP/TLS handshake for every query. I wouldn't think calling reset + set_options was the significant bit.<br>
The tricky bit comes when two servers are used and the process is constantly alternating between them. Do we need to store a 'CURL' object for each http_con in this case?<br>
Or can the "CURL" object maintain a pool of open connections and select the correct one based on the specified URL + options?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>You are receiving this because you are subscribed to this thread.<br>Reply to this email directly or view it on GitHub:<br><a href="https://github.com/kamailio/kamailio/issues/542#issuecomment-196835390">https://github.com/kamailio/kamailio/issues/542#issuecomment-196835390</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZbezlfvDy5kRwxX3BAE-Q_lfZ-e1ks5ptrxogaJpZM4Huiwe.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/kamailio/kamailio/issues/542#issuecomment-196835390"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>