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
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to