On Tue, Jul 03, 2012 at 11:19:36AM +0530, Swamy Mudhbasalar wrote: > I am downloading many files from the server. > I used persistent connection and reusing the session. > After getting all the files closing the connection using curl_easy_cleanup. > > Problem is still am seeing a session active on server side. > Is there anyway i can close this session before curl_easy_cleanup.
The CURLOPT_FORBID_REUSE option will automatically close the connection after every transfer. >>> Dan ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
