cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: ±¦Öì <zhubaozhong2005_at_gmail.com>
Date: Fri, 16 Jul 2010 09:48:57 +0800

Hi Dan,

It seems ok when I use LOW_SPEED_LIMIT and LOW_SPEED_TIME.
If the speed is too slow, there will be a exception.
Thank you very much.

Br,
bazohong

2010/7/14 Dan Fandrich <dan_at_coneharvesters.com>

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

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