cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Bugs-911821 ] Time-out options ignored

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 08 Mar 2004 00:59:55 -0800

Bugs item #911821, was opened at 2004-03-08 10:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=911821&group_id=976

Category: https
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: markmouse (pors)
Assigned to: Daniel Stenberg (bagder)
Summary: Time-out options ignored

Initial Comment:
The following command:

curl --connect-timeout 1 --max-time 1 -i
--write-out
"\nrtime=%{time_namelookup}\nctime=%{time_connect}\nttime=%{time_total}\ndsize=%{size_download}\nhsize=%{size_header}\n"
https://www.bnpnet.bnp.fr:443/

results in this output:

HTTP/1.1 302 Moved Temporarily
Server: Netscape-Enterprise/3.6 SP3
Date: Mon, 08 Mar 2004 08:39:18 GMT
Location: redirection.html
Content-length: 0
Content-type: text/html

rtime=2.534
ctime=2.752
ttime=0.000
dsize=0
hsize=180

So it seems that both --connect-timeout and --max-time
are ignored.

Version info:
$ curl -V
curl 7.8 (i386-redhat-linux-gnu) libcurl 7.8 (OpenSSL
0.9.6b) (ipv6 enabled)

Kind regards
Mark

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=911821&group_id=976
Received on 2004-03-08