cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Session still remains even connection get closed

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 4 Jul 2012 23:36:38 +0200

On Wed, Jul 04, 2012 at 06:28:34PM +0530, Swamy Mudhbasalar wrote:
> 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

I don't know what vSphere Client UI is, nor what you mean by "session"
in this context. HTTP has no concept of sessions, so I'm assuming
you mean some kind of higher-layer application session.

>
> 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();

I have no idea what this is.

> 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.

It sounds like this is some kind of session tracked by an application.
If it uses standard HTTP to log out from the session manager, then
libcurl can do it. All you need to do is find out what HTTP request is
needed to do so.

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