cURL / Mailing Lists / curl-library / Single Mail


Re: Large POST body

From: Daniel Stenberg <>
Date: Tue, 22 Jan 2008 14:58:45 +0100 (CET)

On Tue, 22 Jan 2008, Vincenzo Moccia wrote:

> Hi, my app uses libcurl to send HTTP POST requests to a server. I noticed
> that when the POST body is larger than 1K, performance degrades
> significantly.

What libcurl on what operating system? Did any analyses with wireshark or
similar to see if the degration is larger than what can be expected?

> Is this because large POST bodies are sent in multiple chunks or what?

Possibly, yes

> Can I change this behavior?

No, not without changing the libcurl source code. But of course we should have
the highest possible performance even when doing multiple send()s...

  Commercial curl and libcurl Technical Support:
Received on 2008-01-22