cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Can't post with Content-Length longer than 1024 bytes

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 18 Feb 2008 11:58:00 +0100 (CET)

On Sun, 17 Feb 2008, liofc leaveiton wrote:

> I fixed this problem.
>
> Got lucky, first attempt did it.
>
> I modified file http.h, under the lib directory.
>
> I changed TINY_INITIAL_POST_SIZE from 1024 to (64*1024), and the problem was
> fixed.
>
> I'm not saying this mod should be put in the release version of curl, but it
> did the trick for me!

Right, but there are at least two ways you could've done this without having
to modify source code so I really think you "fixed" this a rather ineffective
way...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-02-18