aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-01-18Remove bogus optimisation of telnet upload.Colin Hogben
Remove wrongly implemented optimisation of telnet upload, apparently intended to allow the library to avoid manually polling for input.
2012-01-04tool_formparse.c: fix compiler warning: enumerated type mixed with another typeYang Tse
2011-12-30removed trailing whitespaceYang Tse
2011-12-21operate: removed a single trailing spaceDaniel Stenberg
2011-12-21--retry: Retry transfers on timeout and DNS errorsDan Fandrich
2011-12-16curl -F: fix multiple file upload with custom typeDaniel Stenberg
Test case 1315 was added to verify this functionality. When passing in multiple files to a single -F, the parser would get all confused if one of the specified files had a custom type= assigned. Reported by: Colin Hogben
2011-11-25tvdiff_secs(): sub-zero time difference adjustmentYang Tse
Skip a floating point addition operation when integral part of time difference is zero. This avoids potential floating point addition rounding problems while preserving decimal part value.
2011-11-20-J -O: use -O name if no Content-Disposition header comes!Daniel Stenberg
A regression between 7.22.0 and 7.23.0 -- downloading a file with the flags -O and -J results in the content being written to stdout if and only if there was no Content-Disposition header in the http response. If there is a C-D header with a filename attribute, the output is correctly written. Reported by: Dave Reisner Bug: http://curl.haxx.se/mail/archive-2011-11/0030.html
2011-11-17FindWin32CACert: return OK even if CA cert isn't foundDaniel Stenberg
Bug: http://curl.haxx.se/mail/lib-2011-11/0180.html Reported by: Mark Brand
2011-11-11progress_cb: avoid buffer overflowDaniel Stenberg
The progress bar output function would blindly use the terminal width without bounds checking. When using a very wide terminal that caused a buffer overflow and segfault. We now limit the max bar with to 255 columns, and I simplified the code to avoid an extra snprintf and buffer. Bug: http://curl.haxx.se/bug/view.cgi?id=3435710 Reported by: Alexey Zakhlestin
2011-11-03tool_cb_wrt.c: disambiguate warning messageYang Tse
2011-11-03tool_cfgable.c: pending check doneYang Tse
2011-11-01tool_cb_see.h: fix compiler warningYang Tse
2011-10-31setup.h: fix compiler warningYang Tse
2011-10-24large headers: have curl accept >16K headersDaniel Stenberg
As commit 5850cc4808ab clarifies, libcurl can deliver header lines that are longer than CURL_MAX_WRITE_SIZE, only body data is limited to that size. The curl tool has check (when built debug-enabled) that made the wrong checks and this new test 1205 verifies that larger headers work.
2011-10-22tool_operate.c: OOM handling fixYang Tse
Move curl_easy_perform source code geneartion out of curl_easy_perform's loop for proper OOM handling and source code geneartion.
2011-10-16--show-error: position indepdenentDaniel Stenberg
Previously we required that -S/--show-error was used _after_ -s/--silent. This was slightly confusing since we strive to make arguments as position independent as possible. Now, you can use them in any order and the result should still be the same. Bug: http://curl.haxx.se/bug/view.cgi?id=3424286 Reported by: Andreas Olsson
2011-10-07libcurl: some OOM handling fixesYang Tse
2011-10-06curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
2011-10-05curl tool: fix compiler warningYang Tse
2011-10-05curl tool: OOM handling fixesYang Tse
2011-10-05curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
2011-10-05curl tool: OOM handling fixesYang Tse
2011-10-05curl tool: OOM handling fixesYang Tse
2011-10-05curl tool: OOM handling fixesYang Tse
2011-10-05curl tool: header inclusion adjustmentYang Tse
2011-10-05curl tool: symbol check adjustmentYang Tse
2011-10-05curl tool: header inclusion adjustmentYang Tse
2011-10-05curl tool: code moved to tool_*.[ch] filesYang Tse
2011-10-03curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
2011-09-30curl tool: fix some more OOM handlingYang Tse
2011-09-28curl tool: adjust header callback single call write limit warningYang Tse
Maximum amount of data a header callback is supposed to get in a single call from libcurl is limited by the lowest value of CURL_MAX_WRITE_SIZE and CURL_MAX_HTTP_HEADER.
2011-09-27Added SPNEGO to NetWare build.Guenter Knauf
2011-09-26curl tool: fix a compiler warningYang Tse
2011-09-26curl tool: fix some OOM handling - f4853db5 follow-upYang Tse
2011-09-26curl tool: fix some OOM handlingYang Tse
2011-09-26remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORYYang Tse
2011-09-25allow write callbacks to indicate OOM to libcurlYang Tse
Allow (*curl_write_callback) write callbacks to return CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions inside the callback itself.
2011-09-25NetWare makefile tweaks to select different builds.Guenter Knauf
2011-09-25POST: always set postfieldsizeDaniel Stenberg
When we use binary posts and regular ones intermixed on a single command line, we cannot do strlen() etc on the data to figure out the length (when inserting '&' and more). We must therefore keep track of the post data length. Then we also end up setting the libcurl option with the known size, so that we don't risk that libcurl will do strlen() on the data. This has the minor side-effect that --libcurl source codes now always will use CURLOPT_POSTFIELDSIZE but I don't consider that terribly damaging. Bug: http://curl.haxx.se/bug/view.cgi?id=3413181 Reported by: Taneli Vähäkangas
2011-09-24curl tool: fix a compiler warningYang Tse
2011-09-24curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
2011-09-24curl tool: fix some OOM handling issuesYang Tse
2011-09-22curl tool: fix some OOM handling issuesYang Tse
2011-09-22curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
my_setopt and my_setopt_str no longer ignores curl_easy_setopt result. Fixed some OOM handling issues.
2011-09-21curl tool: make my_setopt ignore curl_easy_setopt result again.Yang Tse
Related code not ready yet for this kind of checks.
2011-09-21Changed suffix rules to pattern rules.Guenter Knauf
Suffix rules cannot have any prerequisites of their own.
2011-09-21Some more MinGW build tweaks.Guenter Knauf
Added envvars to specify OpenSSL include, libpath and lib. Added rule to create curlbuild.h from curlbuild.h.dist.
2011-09-21curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
my_setopt and my_setopt_str no longer ignores curl_easy_setopt result. Fixed some OOM handling issues.
2011-09-20curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
Overhauled FindWin32CACert()