curl-users
curl limits?
Date: Tue, 20 May 2008 17:40:19 -0500
What would be the most data I can post using the command line tool?? Is
there a limit set somewhere??
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. That last variable is
also correct - it's the last variable in the file. In the output file, it
is followed immediately by a large bunch of null characters, followed by a
brain dump which looks, in part, like this:
ÿÿÿÿÿÿÿø9h;ÈÿÿÿÿÛÞÀ
bokmalno_NO.ISO-8859-1bokmålno_NO.ISO-8859-1catalanca_ES.ISO-8859-1croatianhr_HR.ISO-8859-2czechcs_CZ.ISO-8859-2danishda_DK.ISO-8859-1danskda_DK.ISO-8859-1deutschde_DE.ISO-8859-1dutchnl
NL.ISO-8859-1eestiet_EE.ISO-8859-1estonianet_EE.ISO-8859-1finnishfi_FI.ISO-8859-1françaisfr_FR.ISO-8859-1frenchfr_FR.ISO-8859-1galegogl_ES.ISO-8859-1galiciangl_ES.ISO-8859-1germande_DE.ISO-8859-1greeke
l_GR.ISO-8859-7hebrewhe_IL.ISO-8859-8hrvatskihr_HR.ISO-8859-2hungarianhu_HU.ISO-8859-2icelandicis_IS.ISO-8859-1italianit_IT.ISO-8859-1japaneseja_JP.eucJPjapanese.eucja_JP.eucJPja_JPja_JP.eucJPja_JP.uji
sja_JP.eucJPjapanese.sjisja_JP.SJISkoreanko_KR.eucKRkorean.eucko_KR.eucKRko_KRko_KR.eucKRlithuanianlt_LT.ISO-8859-13nb_NOno_NO.ISO-8859-1nb_NO.ISO-8859-1no_NO.ISO-8859-1norwegianno_NO.ISO-8859-1nynorsk
nn_NO.ISO-8859-1polishpl_PL.ISO-8859-2portuguesept_PT.ISO-8859-1romanianro_RO.ISO-8859-2russianru_RU.ISO-8859-5slovaksk_SK.ISO-8859-2slovenesl_SI.ISO-8859-2sloveniansl_SI.ISO-8859-2spanishes_ES.ISO-885
9-1swedishsv_SE.ISO-8859-1thaith_TH.TIS-620turkishtr_TR.ISO-8859-9)/usr/lib/locale/en_US/LC@
@@@@@en_USen_US)/usr/lib/locale/en_US/LC_NAME
!/usr/lib/locale/en/LC_NAME!àA`P_at_Rÿÿÿÿ$P_at_3P@4P_at_8P@=P_at_CP@GP_at_en_USen_US
)/usr/lib/locale/en_US/LC_PAPERèèÜ
Obviously that's leaving out a large number of non-printable characters.
This output is captured by redirecting stderr:
curl -v -d @file http://some.server.com 2> weirdoutput
Any ideas?? Is it going to be possible to do this post somehow?? This is
curl-7.18.1, btw.
Thanks,
Ralph Mitchell
Received on 2008-05-21