aboutsummaryrefslogtreecommitdiff
path: root/lib/formdata.c
AgeCommit message (Collapse)Author
2004-05-12improved cleaning up in case of memory allocation failuresDaniel Stenberg
2004-05-12Left-over from before the return-code fix. This is probably the code thatDaniel Stenberg
causes xlc and gcc act differently on AIX.
2004-05-11clear up memory on failure a little betterDaniel Stenberg
2004-05-11Make this source code use our internal *printf().Daniel Stenberg
Also some minor edits.
2004-05-10James Bursa added better error checking for failer memory calls whenDaniel Stenberg
building formposts
2004-05-07count the formdata size using a 64bit size if avaialbleDaniel Stenberg
2004-05-04removed more leftovers from the formparse functionDaniel Stenberg
2004-05-04removed curl_formparse() from the libraryDaniel Stenberg
2004-04-23only a minor comment/format changeDaniel Stenberg
2004-04-23Replaced Curl_FormReadOneLine with Curl_formpostheader as that is the only useDaniel Stenberg
for it. It saves one extra copy of the header. I also added comments for several functions in formdata.c
2004-03-12more variable type fixing for the huge postsDaniel Stenberg
2004-03-03some more size_t usage, and two added typecasts when converting from size_tDaniel Stenberg
to long (MIPSpro warnings)
2004-02-27fixed some more size_t/int/long warnings and removed a few CMC commentsDaniel Stenberg
2004-02-26Clear up int/long/size_t/ssize_t usage a bitDaniel Stenberg
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-11-13Default Content-Type for formparts has changed to "application/octet-stream".Daniel Stenberg
This seems more appropriate, and I believe mozilla and the likes do this. .html files now get text/html as Content-Type. Pointed out in bug report #839806.
2003-06-26use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg
2003-04-15treat uploaded .html files as text/html by defaultDaniel Stenberg
2003-04-04Changed how boundary strings are generated. This new way uses 28 dashesDaniel Stenberg
and 12 following hexadecimal letters, which seems to be what IE uses. This makes curl work smoother with more stupidly written server apps. Worked this out together with Martijn Broenland.
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-11-29let the Curl_FormReader() return 0 when it reaches end of data to that theDaniel Stenberg
chunked transfer work
2002-10-28kromJx@crosswinds.net's fix that now uses checkprefix() instead ofDaniel Stenberg
strnequal() when the third argument was strlen(first argument) anyway. This makes it less prone to errors. (Slightly edited by me)
2002-10-28prevent compiler warningDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-06-12Chris Combes added CURLFORM_BUFFER, CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTHDaniel Stenberg
2002-06-11added disable-[protocol] support, largely provided by Miklos NemethDaniel Stenberg
2002-05-21curl_formadd() now returns 'CURLFORMcode' instead of int, to better enableDaniel Stenberg
checking for particular errors. curl/curl.h defines the errros
2002-04-15This makes formposting with a specified file missing fail. curl_easy_performDaniel Stenberg
will then return CURLE_READ_ERROR.
2002-04-03Tor Arntsen's fix for "CGI_Lite" compliance!Daniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2002-03-19made it pass stricter compiler flags with less warningsDaniel Stenberg
2002-03-13now supports all options in arrays, except the CURLFORM_ARRAY itselfDaniel Stenberg
2002-03-11Added support for CURLFORM_FILENAME to set the filename field of a fileDaniel Stenberg
part.
2002-02-06ARGH the CRLF I removed recently was not only done after the initialDaniel Stenberg
content-type header, it was used for each part and thus without this it failed MISERABLY. *smacks forhead*
2002-01-29removed three loust fprintf()sDaniel Stenberg
removed the initial CRLF in the formpost, as they are part of the request and should be written by the code in http.c!
2002-01-19#505514, as correctly pointed out by Antonio (anton@concord.ru), trying toDaniel Stenberg
post a non-existing file should include nothing, not an error text!
2001-12-14Marcus Webster's newly added CURLFORM_CONTENTHEADERDaniel Stenberg
2001-11-08Marcus Webster reported and fixed this read-one-byte-too-many problem...Daniel Stenberg
2001-10-29minor fix to support multiple files in one formadd() callDaniel Stenberg
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-10-03hm, I edited away the fine functionality and with this edit test case 9Daniel Stenberg
is once again running OK
2001-10-03Georg Huettenegger's curl_formadd fixesDaniel Stenberg
2001-09-07Added formatting sections for emacs and vimSterling Hughes
2001-08-28Georg Huettenegger's fixes and improvements to curl_formadd()Daniel Stenberg
2001-08-21Georg Huettenegger's patch curl-7.8.1-pre5-patch-20010819Daniel Stenberg
2001-08-14added a few consts and a few typecasts to please picky compiler optionsDaniel Stenberg
2001-08-13curl_formparse() should no longer have any size-limit in the data sectionDaniel Stenberg
after this patch from Peter Todd
2001-08-06Curl_FormFree renamed to Curl_formclean, as it turns out VMS for exampleDaniel Stenberg
requires all global symbols to be *case insentively* unique! curl_formfree is a global function we shouldn't touch.