curl-users
RE: Curl proxy behavior
Date: Sat, 28 Apr 2001 15:16:46 -0700
> -----Original Message-----
> > (the specified IP was no proxy computer) and have
noticed
> > curl has paused for some 20-30 seconds before returning
the
> > expected error message "Can't connect to server (0)".
>
> The host you specified must be dropping packets
> destined for port 80, or the host might not even be up.
>
> Curl is waiting for a reply from the host and then timing
out.
That makes sense, thank you.
Is there a setting in curl to control the timeout wait
length?
The "-m" switch does nothing regardless how (or if at all)
used.
>
> > The command specified port 80.
> > Is curl perhaps scanning other ports on the same
machine?
>
> What a silly thing to ask.
Well, I was always taught "the only silly question is
the one NOT asked". At this age of (sometimes
overextended) automation, it doesn't take a big stretch of
imagination to suspect a program trying some other port
(8080 or so) when it can't access the specified port 80.
No need to put me down for asking something
I do not know much about ;-)
Received on 2001-04-29