curl-library
timeout when you unplug the ethernet cable?
From: Christoph Rupp <crupp_at_umc-web.de>
Date: Mon, 20 Dec 2004 19:03:23 +0100
Date: Mon, 20 Dec 2004 19:03:23 +0100
dear list,
i have a small problem with the following situation; a program uses
libcurl to download an internet stream, but when you unplug the ethernet
cable, disconnect the router, or run "ifconfig eth0 down", the program
will hang for a very, very long time before it gets a timeout. how can i
set this timeout to a few seconds? is this a libcurl-option or a
system-wide setting? (i run linux 2.6)
thanks a lot,
Chris
Received on 2004-12-20