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

filiplx notifications at github.com
Fri Mar 11 11:02:48 CET 2016


The current implementation uses curl_easy_init() to create a CURL easy handle and curl_easy_cleanup() to destroy the handle, including all open connections within it.

If curl_easy_cleanup() isn't called, it's possible to reuse an open connection for the next http call. To reset the CURL options, curl_easy_reset() can be used instead.


[http_client_keep_connections_open.diff](https://github.com/kamailio/kamailio/files/168832/http_client_keep_connections_open.txt)


---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/542
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160311/53082fd4/attachment.html>


More information about the sr-dev mailing list