On Thu, Oct 21, 2010 at 11:58:36PM +0530, Shivanand wrote:
> I want to open a new connection each time. I cant use easy_cleanup because I
> want to retain other options set on easy handle. IS there any way to close the
> connection with the server without calling clean up?

Look at the CURLOPT_MAXCONNECTS and CURLOPT_FRESH_CONNECT options. But, you're
usually better off reusing an existing connection, so I'd look at getting
that working properly instead.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to