cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: LibCurl Hang when download job disturbed by network interface down

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 14 Jul 2010 08:32:42 -0700

On Wed, Jul 14, 2010 at 03:56:19PM +0800, ±¦Öì wrote:
> In the clinet, I use "netstat -an" and found the tcp connection is still
> established.

Which is what you'd see if the client lost the RST while the network
was down. Either of the LOW_SPEED or keepalive methods I suggested would
detect this.

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