cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Maintaining the socket for the HTTP operation

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 20 Jan 2011 10:10:52 -0800

On Thu, Jan 20, 2011 at 06:07:51PM +0530, darshan.mody_at_wipro.com wrote:
> We have a application that needs to maintain the socket and perform HTTP
> operations. However using curl_easy_cleanup leads to closing the socket.

Well, don't call it then! There's no need to if you'll be using the easy
handle again.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-20