cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Server Response Confusing ??

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 23 Sep 2004 14:29:52 +0200 (CEST)

On Thu, 23 Sep 2004, Ram wrote:

> Curl_Easy_Perform ( ) returns 52 ;
> ERRORBUFFER Contains: Empty Response from server.
>
> getinfo :
> Response code = 0 ;
>
> What is the problem. i am sending empty response. which actually is a
> success. as i am sending 200 OK (server sends 200 OK).

"Empty Response" means _nothing_ returned. Not a single byte. No header, no
body. Nothing.

> Why this error is comming ?. how to avoid it.

Since this doesn't happen to anyone else and you are writing your own
server... well, I can't but to suspect that your server is not doing fine.

Please provide a "curl --trace" output if you think otherwise.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-23