Hi, 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. Environment : Libcurl : 7.21.0 OS : Windows XP Curl Verbose: > GET /folder/SecondVM/vmware.log?dcPath=Dev+Datacenter&dsName=ukp-dothill > HTTP/1.1 Authorization: Basic YWRtaW5pc3RyYXRvcjpiaW5hcnM= User-Agent: libcurl-agent/1.0 Host: dev-vcenter Accept: */* < HTTP/1.1 200 OK < Date: Mon, 2 Jul 2012 06:48:08 GMT * Added cookie vmware_soap_session=""EAF1A7AA-EB74-46F3-A7A2-3C200F91657D"" for domain dev-vcenter, path /, expire 0 < Set-Cookie: vmware_soap_session="EAF1A7AA-EB74-46F3-A7A2-3C200F91657D"; Path=/; < Accept-Ranges: bytes < Connection: Keep-Alive < Content-Type: application/octet-stream < Content-Length: 41003 < * Connection #0 to host dev-vcenter left intact * Re-using existing connection! (#0) with host dev-vcenter * Connected to dev-vcenter (10.11.35.123) port 443 (#0) * Server auth using Basic with user 'administrator' > GET /folder/SecondVM/vmware.log?dcPath=Dev+Datacenter&dsName=ukp-dothill > HTTP/1.1 Authorization: Basic YWRtaW5pc3RyYXRvcjpiaW5hcnM= User-Agent: libcurl-agent/1.0 Host: dev-vcenter Accept: */* Cookie: vmware_soap_session="EAF1A7AA-EB74-46F3-A7A2-3C200F91657D" < HTTP/1.1 200 OK < Date: Mon, 2 Jul 2012 06:48:10 GMT * Replaced cookie vmware_soap_session=""EEC3B4DB-B8CD-49E8-BAD1-9196B22BBDD3"" for domain dev-vcenter, path /, expire 0 < Set-Cookie: vmware_soap_session="EEC3B4DB-B8CD-49E8-BAD1-9196B22BBDD3"; Path=/; < Accept-Ranges: bytes < Connection: Keep-Alive < Content-Type: application/octet-stream < Content-Length: 41003 * Connection #0 to host dev-vcenter left intact * Closing connection #0 Regards, SAM ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
