cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_CONNECTTIMEOUT and

From: Jerry G. Chiuan <jerry_at_oridus.com>
Date: Mon, 26 Jan 2004 10:36:59 -0800

> > > In what way is the IP "invalid" ? If that is a slow name lookup
happening,
> > > then there's the limits as explained above.
> >
> > invalid IP means there is no machine w/ that IP fundementally, it is not
> > about name lookup
> >
> > > If not, then CURLOPT_CONNECTTIMEOUT should time-out the operation.
> >
> > I think so, but it does NOT happen however, it times out after I use
> > CURLOPT_CONNECT, I don't know why CURLOPT_CONNECT can do that but
> > CURLOPT_CONNECTTIMEOUT can't there should not be any difference since it
is
> > in connection phase
>
> It smells like there might be a bug in there.

Hi Daniel,
I am still using 7.10.7, do you think it is the reason?
I will try 7.11.0 and see whether CURLOPT_CONNECTTIMEOUT works for invalid
IP

thanks
- Jerry

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-26