curl-users
Re: curl: (52) Empty reply from server
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 May 2007 16:17:17 +0200 (CEST)
Date: Mon, 7 May 2007 16:17:17 +0200 (CEST)
On Mon, 7 May 2007, Ralph Mitchell wrote:
>> > curl: (52) Empty reply from server.
>> When curl says that, it didn't get _any_ response from the HTTP server when
>> it sent its request.
>
> I was just asked the same thing here at work. Just to clarify, am I right
> in thinking that '52' means the connection is accepted, but then dropped by
> the remote server before a single byte is transferred?? I.e, it's not a
> timeout or other failure in transmission.
Exactly: Connect, sent request successfully, connection closed.
Since HTTP is defined to always have the server respond with at least
something, not responding with anything at all is considered an error.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-05-07