Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-10-24 | Mohun Biswas found out that formposting a zero-byte file didn't work very | Daniel Stenberg | |
good. I fixed. | |||
2004-10-08 | if basename was found, check for a prototype and if none was found, provide | Daniel Stenberg | |
our own in the formdata.c file to prevent warnings on systems without it | |||
2004-10-06 | removed tabs and trailing whitespace from source | Daniel Stenberg | |
2004-10-05 | Only include libgen.h if we have a basename as well. | Daniel Stenberg | |
Mainly meant to deal with the IRIX case which seems to requrie a "-lgen" lib to find the basename function and thus without the gen lib, it finds the header but not the function and our replacement function has a prototype that doesn't match the IRIX one. A different approach would be to make configure detect and use -lgen for the systems that require it. | |||
2004-10-05 | let our basename() be static | Daniel Stenberg | |
2004-10-01 | someone should hit me | Daniel Stenberg | |
2004-10-01 | fixed the basename() replacement, reported by Gisle | Daniel Stenberg | |
2004-10-01 | - Based on Fedor Karpelevitch's formpost path basename patch, file parts in | Daniel Stenberg | |
formposts no longer include the path part. If you _really_ want them, you must provide your preferred full file name with CURLFORM_FILENAME. Added detection for libgen.h and basename() to configure. My custom basename() replacement function for systems without it, might be a bit too naive... Updated 6 test cases to make them work with the stripped paths. | |||
2004-06-24 | Replaced all uses of sprintf() with the safer snprintf(). It is just a | Daniel Stenberg | |
precaution to prevent mistakes to lead to buffer overflows. | |||
2004-06-24 | Source cleanups. The major one being that we now _always_ use a Curl_addrinfo | Daniel Stenberg | |
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code. | |||
2004-06-14 | Allow formposting of files larger than what fits in memory by not reading the | Daniel Stenberg | |
file until it is actually being uploaded. Make sure we build and still work with HTTP disabled - the SSL code might use the boundary string for some random seeding. | |||
2004-06-13 | provide curl_formfree() even when http is disabled, it does nothing then | Daniel Stenberg | |
2004-06-10 | build again with disabled http | Daniel Stenberg | |
2004-06-09 | when built with HTTP disabled, provide a curl_formadd() function anyway to | Daniel Stenberg | |
keep the API complete at all times | |||
2004-06-03 | deleted trailing whitespace | Daniel Stenberg | |
2004-05-13 | mark a value as alloced when strdup()ed to prevent memory leaks | Daniel Stenberg | |
2004-05-12 | improved cleaning up in case of memory allocation failures | Daniel Stenberg | |
2004-05-12 | Left-over from before the return-code fix. This is probably the code that | Daniel Stenberg | |
causes xlc and gcc act differently on AIX. | |||
2004-05-11 | clear up memory on failure a little better | Daniel Stenberg | |
2004-05-11 | Make this source code use our internal *printf(). | Daniel Stenberg | |
Also some minor edits. | |||
2004-05-10 | James Bursa added better error checking for failer memory calls when | Daniel Stenberg | |
building formposts | |||
2004-05-07 | count the formdata size using a 64bit size if avaialble | Daniel Stenberg | |
2004-05-04 | removed more leftovers from the formparse function | Daniel Stenberg | |
2004-05-04 | removed curl_formparse() from the library | Daniel Stenberg | |
2004-04-23 | only a minor comment/format change | Daniel Stenberg | |
2004-04-23 | Replaced Curl_FormReadOneLine with Curl_formpostheader as that is the only use | Daniel Stenberg | |
for it. It saves one extra copy of the header. I also added comments for several functions in formdata.c | |||
2004-03-12 | more variable type fixing for the huge posts | Daniel Stenberg | |
2004-03-03 | some more size_t usage, and two added typecasts when converting from size_t | Daniel Stenberg | |
to long (MIPSpro warnings) | |||
2004-02-27 | fixed some more size_t/int/long warnings and removed a few CMC comments | Daniel Stenberg | |
2004-02-26 | Clear up int/long/size_t/ssize_t usage a bit | Daniel Stenberg | |
2004-01-29 | Dan Fandrich's cleanup patch to make pedantic compiler options cause less | Daniel Stenberg | |
warnings. Minor edits by me. | |||
2004-01-07 | updated year in the copyright string | Daniel Stenberg | |
2003-11-13 | Default 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-26 | use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions | Daniel Stenberg | |
2003-04-15 | treat uploaded .html files as text/html by default | Daniel Stenberg | |
2003-04-04 | Changed how boundary strings are generated. This new way uses 28 dashes | Daniel 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-29 | removed the local variables for emacs and vim, use the new sample.emacs | Daniel Stenberg | |
way for emacs, and vim users should provide a similar non-polluting style | |||
2003-01-16 | copyright year update in the source header | Daniel Stenberg | |
2002-11-29 | let the Curl_FormReader() return 0 when it reaches end of data to that the | Daniel Stenberg | |
chunked transfer work | |||
2002-10-28 | kromJx@crosswinds.net's fix that now uses checkprefix() instead of | Daniel Stenberg | |
strnequal() when the third argument was strlen(first argument) anyway. This makes it less prone to errors. (Slightly edited by me) | |||
2002-10-28 | prevent compiler warning | Daniel Stenberg | |
2002-09-03 | updated source code boilerplate/header | Daniel Stenberg | |
2002-06-12 | Chris Combes added CURLFORM_BUFFER, CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH | Daniel Stenberg | |
2002-06-11 | added disable-[protocol] support, largely provided by Miklos Nemeth | Daniel Stenberg | |
2002-05-21 | curl_formadd() now returns 'CURLFORMcode' instead of int, to better enable | Daniel Stenberg | |
checking for particular errors. curl/curl.h defines the errros | |||
2002-04-15 | This makes formposting with a specified file missing fail. curl_easy_perform | Daniel Stenberg | |
will then return CURLE_READ_ERROR. | |||
2002-04-03 | Tor Arntsen's fix for "CGI_Lite" compliance! | Daniel Stenberg | |
2002-03-19 | copyright string (year) update | Daniel Stenberg | |
2002-03-19 | made it pass stricter compiler flags with less warnings | Daniel Stenberg | |
2002-03-13 | now supports all options in arrays, except the CURLFORM_ARRAY itself | Daniel Stenberg | |