cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_perform: Is there any way to know about the end of response after doing curl multi perform

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 19 Nov 2006 23:51:00 +0100 (CET)

On Fri, 17 Nov 2006, venkat akella wrote:

> Thanks for the quick response. This is what happening in my case.
>
> I am using HTTP 1.1 persistent connections. when I call
> curl_multi_perform(), client is sending the POST request to HTTP server and
> I am getting the response back. In my case response doesnt have body and
> headers. Response just has the status line. Response I received is "HTTP/1.1
> 200 OK\r\n\r\n". Even though curl_multi_perform() call is giving me the
> complete response (In my case just status line), running_handles is not
> getting set to 0. Its still 1 after this call. Can anyone please let me know
> what might be going wrong? OR is there a bug in curl with persistent
> connection and receiving just status line.

Given this description, it sounds like a libcurl bug...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-19