cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [Bug#158173: curl: Timeout if proxy is down]

From: Domenico Andreoli <cavok_at_filibusta.crema.unimi.it>
Date: Tue, 3 Sep 2002 14:42:43 +0200

ok, i think he took this :)

thanks

On Tue, Sep 03, 2002 at 02:25:22PM +0200, Daniel Stenberg wrote:
> On Tue, 3 Sep 2002, Domenico Andreoli wrote:
>
> > I noticed that curl's timeout options, -y and -Y, don't work if used with a
> > proxy (the -x option) that happens to be down.
>
> That is not the intended use for those options. They stop slow transfers, and
> thus they only start to work when the transfer "phase" have started.
>
> > $ curl -y 5 -Y 240000 -x cobalt3.cotel.de:80 -o /dev/null
> > http://www.wwu.edu/about/map/cmapsm.jpg
> >
> > It should time out after five seconds, but doesn't.
>
> I disagree. If you want a connection timeout efter 5 seconds,
> --connect-timeout is there for you for *exactly* that purpose.
>
> > Please enhance curl so it also times out if the proxy is down.
>
> Sorry, I don't agree with you that this is a bug. If you still think it is,
> then please motivate why and why my suggested option does not offer what you
> want.
>

-----[ Domenico Andreoli, aka cavok
 --[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-09-03