cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: long timeout after a lost connection (curl 7.39, windows)

From: Ray Satiro <raysatiro_at_yahoo.com>
Date: Mon, 15 Dec 2014 15:12:08 -0500

On 12/15/2014 5:58 AM, чи дер wrote:
> So hasn't anyone come across this issue or was the info I provide too
> obscure to make any conclusions?
>

Could you post a self contained example? Something simple that is pared
down and will demonstrate the problem.

I did:

easy_perform to google.com
sleep 40 seconds (about 20 seconds in I pulled out the ethernet cable)
easy_perform to google.com again

Within 5 seconds I got a recv failure:

* Connection #0 to host google.com left intact
* Found bundle for host google.com: 0x541078
* Re-using existing connection! (#0) with host google.com
* Connected to google.com (167.206.145.153) port 80 (#0)
> GET / HTTP/1.1
Host: google.com
Accept: */*

* Recv failure: Connection was reset
* Connection died, retrying a fresh connect
* Closing connection 0
* Issue another request to this URL: 'http://google.com/'
* Hostname was NOT found in DNS cache
* Could not resolve host: google.com
* Closing connection 1

Windows 7 x64 SP1 with libcurl 93227dd 2014-12-15 config 'DLL Debug -
DLL OpenSSL' and compiled that and the test using Visual Studio 2010
Professional.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-15