curl-users
Re: hanging URL
Date: Tue, 19 Sep 2000 09:16:31 -0700
Daniel Stenberg wrote:
>
> To add details to this mystery, I tried to invoke curl on that server through
> a squid proxy and then it works!
Could it be something to do with HTTP 1.1? I ran a tcpdump on it while
I hit the site with Netscape, and here's what it looks like for packets
5, 6, and 7:
No. Time Source Destination Protocol
Info
5 2.030504 bugsy 63.240.56.20 HTTP
GET / HTTP/1.0\r\n
6 2.163558 63.240.56.20 bugsy TCP
www > 2414 [ACK] Seq=1972092872 Ack=1687383820 Win=31777 Len=0
7 2.182229 63.240.56.20 bugsy HTTP
HTTP/1.1 200 OK\r\n
Now, if I run curl against the same URL, here are packets 6 and 7:
No. Time Source Destination Protocol
Info
6 0.203790 bugsy 63.240.56.20 HTTP
GET / HTTP/1.0\r\n
7 3.201028 bugsy 63.240.56.20 HTTP
GET / HTTP/1.0\r\n
So, my guess is that cbs.com maybe has some agent identifier in there,
and if you don't match an accepted string value, you get the black hole
of death?
-te
-- Troy Engel :: KeyID DF3D5207 Perl is just another tool in the Unix toolbox. Perl does one thing, and it does it well: it gets out of your face. - Larry WallReceived on 2000-09-19