cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP Post seems to send headers and content separately - slow

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 20 Apr 2004 18:19:20 +0200 (CEST)

On Tue, 20 Apr 2004, Fergus McCann wrote:

> On HPUX 11.00
> libCurl 7.10.5

We have made five releases since this version and we have changed some of the
behaviors you talk about here.

> When I post to my http server from C++, there seems to be two separate sends
> done

Yeps, libcurl used to do that unconditionally during a few releases until we
optimized it better.

> over the socket with a big delay between them (around 70mS).

The delay you see is network-related and not caused by curl being slow, AFAIK.

> Note in the output below no mention of the content (although maybe this is
> normal)

Use --trace or DEBUGFUNCTION to get a full trace inluding the request-body.

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