cURL / Mailing Lists / curl-users / Single Mail

curl-users

Another wierd curl (6.5.2) problem

From: Spambait <curl_at_spam.wolvesbane.net>
Date: Tue, 25 Apr 2000 20:19:09 -0700

This command, on my Linux 2.2.14 system, will wait forever for data from the
remote side:

        curl -A 'Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)' -o test.html http://www.terraserver.com/bad.html

Attempting to send the same exact HTTP command with 'nc' results in the correct
(Error) response.

My quick stab at the problem is noting that under 'curl', and not under nc,
the request is sent in two packets:
  (1)
         GET ...
        
  (2)
        <0d><0a>

While this is probably an issue with the server, curl's strength has been it's
ability to interface with these irksome beasts.

Thanks.
Received on 2000-04-26