[sr-dev] [kamailio] module http_client - support for keeping connections open (#542)

Hugh Waite notifications at github.com
Tue Mar 15 15:04:24 CET 2016


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.
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?
Or can the "CURL" object maintain a pool of open connections and select the correct one based on the specified URL + options?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/542#issuecomment-196835390
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160315/535479e5/attachment-0001.html>


More information about the sr-dev mailing list