cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: -L problem?

From: Paul Harrington <paul_at_pizza.org>
Date: Mon, 29 Oct 2001 16:14:50 +0000

> Did you try with that flag and if so, did it make any difference?

Yes I think that works. Using curl 7.9.1-pre5 and -L I get a message:

* Connection (#0) left alive
curl: (52) Empty reply from server

* Closing live connection (#0)

Adding the -0 looks to work.

Doing some testing using "openssl s_client" it seems that if I send:

GET / HTTP/1.1
User-Agent: curl/7.9.1-pre5 (sparc-sun-solaris2.6) libcurl 7.9.1-pre5 (OpenSSL 0
.9.6b)
Host: orkney.rhl:9004
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

I get the 302 message but the server closes the connection - could it
be possible that curl is not noticing this?

Regards

Paul
Received on 2001-10-29