[Info-vax] cURL (7.19.7) for VMS
JF Mezei
jfmezei.spamnot at vaxination.ca
Wed Dec 30 02:52:49 EST 2009
Steven Schweda wrote:
> --trace <file> Write a debug trace to the given file
> --trace-ascii <file> Like --trace but without the hex output
$ curl --trace-ascii temp.txt -
"http://www.weatheroffice.gc.ca/radar/index_e.html?id=XFT"
Interrupt
$ exit
$ type temp.txt
== Info: About to connect() to www.weatheroffice.gc.ca port 80 (#0)
== Info: Trying 199.212.17.28... == Info: connected
== Info: Connected to www.weatheroffice.gc.ca (199.212.17.28) port 80 (#0)
=> Send header, 157 bytes (0x9d)
0000: GET /radar/index_e.html?id=XFT HTTP/1.1
0029: User-Agent: curl/7.18.2 (ALPHA-HP-VMS) libcurl/7.18.2 OpenSSL/0.
0069: 9.7e
006f: Host: www.weatheroffice.gc.ca
008e: Accept: */*
009b:
$
When doing the --verbose, it yields the same information. It logs the
sending of the HTTP header, and then hangs before displaying any of the
server's reply.
OK, now even the -I hangs. But I can still telnet/port=80 to the web
server and send and receive stuff.
Probably some really odd thing deep down in the bowels of the TCP stack
that cause curl to hang when waiting for input.
More information about the Info-vax
mailing list