curl-library
Re: Session still remains even connection get closed
Date: Wed, 4 Jul 2012 18:28:34 +0530
Hi Dan,
I tried with CURLOPT_FORBID_REUSE option, the connection is getting
close but session is still there. I can see the session active in
vSphere Client UI
Actually i am downloading the vm file from ESX server via vCenter.
I think there is some problem with libcurl 7.21.0 while interacting
with vmware web service.
I am suspecting that the libcurl is not doing - Log's out and
Disconnects from the WebService.
Libcurl is failing to do
_service.Logout(_sic.sessionManager);
_service.Dispose();
Means is not logging out from the session manager
Please let me know is there any option in libcurl to logout from the
session manager.
Please correct me if i am wrong. Also please let me know if you have
any information regarding- what libcurl is doing while interacting
with vmware web service.
Regards,
Swamy
> ------------------------------
>
> Message: 7
> Date: Tue, 3 Jul 2012 22:49:53 +0200
> From: Dan Fandrich <dan_at_coneharvesters.com>
> To: curl-library_at_cool.haxx.se
> Subject: Re: Session still remains even connection get closed
> Message-ID: <20120703204953.GA6352_at_coneharvesters.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> 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
Received on 2012-07-04