curl-users
Re: curl limits?
Date: Tue, 20 May 2008 22:39:31 -0700
On Tue, May 20, 2008 at 05:40:19PM -0500, Ralph Mitchell wrote:
> What would be the most data I can post using the command line tool?? Is there
> a limit set somewhere??
I don't think there is.
> The problem is that I have over 900 variables to post and I think I may be
> overflowing some internal buffer somewhere. The verbose output from curl
> looks, in part, like this::
>
> > Cookie: JSESSIONID=1109C2442CEEC8483B961AEEEA2F5AFD
> > Content-Length: 19351
> > Content-Type: application/x-www-form-urlencoded
> >
> > selectedAction=¤tAction=&eventAction=submit&eventProcessor=&
> NoOfAirports=0&NoOfPOIs=0&NoOfContacts=0&sortColumn=&editModeContact=&
> selectedIndex=&marketingEntity=Test+Chains&disableCode=U&tpfCha
> inCoder=QA&......[snip]..............&creditAction_79=N&hiddenCreditCardId_79=
> YJ
>
> The Content-Length header is correct - that's the size of the file containing
> the post variable string all on one line.
I tried an 80KB post without any problems. What platform is this on? Can
you run curl under valgrind and see if shows any uninitialized buffers being
used or buffer overflows? Is the correct data being sent or is the garbage
data actually being sent as well? Is this purely a logging problem? Does
it show up with --trace-ascii as well? The garbage data you're seeing isn't
being returned by the server by any chance, is it?
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-05-21