RE: Size Limit on FORM_STRING variable
Status: Alpha
Brought to you by:
coroberti
From: Humair M. <hu...@ho...> - 2011-11-29 13:37:23
|
Hello Robert - Thanks for confirming. I will double this to 16kb for my needs. Hopefully that wont cause any buffer overflow issues. Humair Date: Tue, 29 Nov 2011 08:35:30 +0200 Subject: Re: Size Limit on FORM_STRING variable From: cor...@gm... To: cur...@li... Yes. On Tue, Nov 29, 2011 at 5:28 AM, Humair Mohammed <hu...@ho...> wrote: It appears the following line # 2815 in parse_conf.c (v0.52) reads the 8192 characters from each line of the config file and I believe that explains the 8kb truncation. char fgets_buff[1024*8]; From: hu...@ho... To: cur...@li... Subject: Size Limit on FORM_STRING variable Date: Mon, 28 Nov 2011 12:04:25 -0600 Hello - It appears that there is a 8kb size limit on the the FORM_STRING variable value in the curl-loader configuration file. I am testing an application with a large size post data and curl-loader fails to start with the following message: ******************************found form_str XXXadd_param_to_batch - error: unknown tag n. ATTENTION: If the tag not misspelled, read README.Migration file. parse_config_file - error: add_param_to_batch () failed processing buffer "n" main - error: parse_config_file () failed.****************************** It appears that if the FORM_STRING has a value that exceeds 8kb length the error message traps this and anything past the 8kb limit (in this case 'n' which is reported as unknown tag n) and reports the error above. If I remove anything past the 8kb string then the post works just fine. Is there a setting that will allow me to post large amounts of form data? I haven't tried the MULTIPART_FORM_DATA since it does not allow token replacements and I need token replacement functionality using the FORM_STRING and template file. If this need code recompilation to adjust for my case I would request any pointers in terms of which source file needs to be changed to increase the limits. I understand libcurl does not have any limits imposed on the size of the data that can be posted so I am hoping there is some setting in the curl-loader code that is adding this limitation that can be resolved. Thanks! Humair ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ curl-loader-devel mailing list cur...@li... https://lists.sourceforge.net/lists/listinfo/curl-loader-devel ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ curl-loader-devel mailing list cur...@li... https://lists.sourceforge.net/lists/listinfo/curl-loader-devel -- Regards, Robert Iakobashvili, Ph.D. Home: http://www.ghotit.com Blog: http://dyslexia-blog.ghotit.com Twitter: http://twitter.com/ghotit Facebook: http://facebook.com/ghotit...................................................................... Ghotit DyslexiaAssistive technology that understands you ...................................................................... ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ curl-loader-devel mailing list cur...@li... https://lists.sourceforge.net/lists/listinfo/curl-loader-devel |