aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-02retry: consider retrying even if -f is usedDaniel Stenberg
The --retry logic does retry HTTP when some specific response codes are returned, but because the -f option sets the CURLOPT_FAILONERROR to libcurl, the return codes are different for such situations and then the curl tool failed to consider it for retrying. Reported by: Mike Power Bug: http://curl.haxx.se/bug/view.cgi?id=3037362
2010-08-01Added dependend libs for curl static linking.Guenter Knauf
2010-07-31Fixed curl.exe static linking.Guenter Knauf
2010-07-29Added a comment with an alternate idea to avoid the backslash line ↵Guenter Knauf
contination character.
2010-07-29Make Watcom makefiles use Makefile.inc to reduce future maintainance.Guenter Knauf
lib/Makefile.Watcom works fine already, for src/Makefile.Watcom we need first to tweak src/Makefile.inc a bit - therefore the handtweaked list still exists for now.
2010-07-29Watcom makefiles overhaul.Guenter Knauf
- make both libcurl and curl makefiles use register calling convention (previously libcurl had stack calling convention). - added include paths to the Watcom headers so its no longer required to set the environment vars for this. - added -wcd=201 to supress compiler warning about unreachable code. - use macros for all tools, and removed dependency on GNU tools like rm. - make ipv6 and debug builds controlable via env vars and so make them optional instead of default. - commented WINLDAPAPI and WINBERAPI since they broke with OW 1.8, and it seems they're not needed (anymore?). - added rule for hugehelp.c.cvs so that it will be created when not already exist - this is required for building from a release tarball since there we have no hugehelp.c.cvs, thus compilation broke. - removed C_ARG creation from lib/Makefile.Watcom and use CFLAGS directly as done too in src/Makefile.Watcom - this has the benefit that we will see all active cflags and defines during compile. - added LINK-ARG to src/Makefile.Watcom in order to better control linker input. - a couple of other minor makefile tweaks here and there ... - added largefile support for Watcom builds to config-win32.h. Not yet tested if it really works, but should since Win32 supports it. - added loaddll stuff to speed up builds if supported.
2010-07-22Updated library versions.Guenter Knauf
2010-07-21build: Enable configure --enable-werrorBen Greear
This passes -Werror to gcc when building curl and libcurl, allowing easy dection of compile warnings. Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-07-17remote-header-name: chop filename at next semicolonJeff Pohlmeyer
The --remote-header-name option for the command-line tool assumes that everything beyond the filename= field is part of the filename, but that might not always be the case, for example: Content-Disposition: attachment; filename=file.txt; modification-date=... This fix chops the filename off at the next semicolon, if there is one.
2010-07-14--retry: access violation with URL part sets continuedDaniel Stenberg
When getting multiple URLs, curl didn't properly reset the byte counter after a successful transfer so if the subsequent transfer failed it would wrongly use the previous byte counter and behave badly (segfault) because of that. The code assumes that the byte counter and the 'stream' pointer is well in synch. Reported by: Jon Sargeant Bug: http://curl.haxx.se/bug/view.cgi?id=3028241
2010-07-07upload: Avoid infinite loop when checking for auth bitsTor Arntsen
The test would loop forever if authtype bit 0 wasn't set.
2010-07-06upload: warn users trying to upload from stdin with anyauthDaniel Stenberg
Since uploading from stdin is very likely to not work with anyauth and its multi-phase probing for what authentication to actually use, alert the user about it. Multi-phase negotiate almost certainly will involve sending data and thus libcurl will need to rewind the stream to send again, and it cannot do that with stdin.
2010-07-06--libcurl: list the tricky options instead of using [REMARK]Daniel Stenberg
I think the [REMARK] and commented function calls cluttered the code a bit too much and made the generated code ugly to read. Now we instead track the remarks one specially and just lists them at the end of the generated code more as additional information.
2010-07-06curl: avoid setting libcurl options to its defaultDaniel Stenberg
it makes the --libcurl output easier to follow.
2010-07-06--libcurl: hide setopt() calls setting default optionsDaniel Stenberg
And additionally, don't show function or object pointers actual value since they make no sense to anyone. Show 'functionpointer' and 'objectpointer' instead.
2010-07-06--libcurl: use *_LARGE options with typecasted constantsDaniel Stenberg
In the generated code --libcurl makes, all calls to curl_easy_setopt() that use *_LARGE options now have the value typecasted to curl_off_t, so that it works correctly for 32bit systems with 64bit curl_off_t type.
2010-06-29glob: backslash escaping bugDaniel Stenberg
curl didn't properly handle escaping characters in a URL with the use of backslash. It did an attempt, but that failed as reported in bug 3022551. The described example was using the URL "http://example.com?{AB,C\,D}". I've now removed the special-handling of letters following the backslash and I also removed the bad extra check that triggered this particular bug. Bug: http://curl.haxx.se/bug/view.cgi?id=3022551 Reported by: Jon Sargeant
2010-06-01fix compiler warning: enumerated type mixed with another typeYang Tse
2010-05-31fix compiler warning: enumerated type mixed with another typeYang Tse
2010-05-29strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MINKamil Dudka
... and CURL_LLONG_MAX -> CURL_OFF_T_MAX
2010-04-29telnet: Allow programatic use of telnet.Ben Greear
The main change is to allow input from user-specified methods, when they are specified with CURLOPT_READFUNCTION. All calls to fflush(stdout) in telnet.c were removed, which makes using 'curl telnet://foo.com' painful since prompts and other data are not always returned to the user promptly. Use 'curl --no-buffer telnet://foo.com' instead. In general, the user should have their CURLOPT_WRITEFUNCTION do a fflush for interactive use. Also fix assumption that reading from stdin never returns < 0. Old code could crash in that case. Call progress functions in telnet main loop. Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-04-24encourage users to take latest lib dependencies.Guenter Knauf
2010-04-24curl: added --proto and --proto-redirAlex Bligh
--proto tells curl to use the listed protocols for its initial retrieval --proto-redir tells curl to use the listed protocols after a redirect
2010-04-21curl: -O crash on windowsDaniel Stenberg
The -O option caused curl to crash on windows and DOS due to the tool writing out of boundary memory.
2010-04-20replaced wsock32.lib usage with ws2_32.lib in MSVC makefilesRuslan Gazizov
2010-04-19parse_filename: strip trailing CRs and LFsDaniel Stenberg
The feature that uses the file name given in a Content-disposition: header didn't properly skip trailing carriage returns and linefeed characters from the end of the file name when it was given without quotes.
2010-04-17parseconfig: Value stored to 'line' is never readDaniel Stenberg
Make the function call with (void) as we don't care about the return code.
2010-04-14ignore files generated by 'maketgz'Daniel Stenberg
2010-04-12fixed a path typo in src/Makefile.netware.Guenter Knauf
2010-03-31make folks use latest available dependent libraries.Guenter Knauf
2010-03-29use size_t to hold string lengthDaniel Stenberg
using int is not fine on 64bit systems
2010-03-25remove all .cvsignore filesDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-03-20provide an initial set of .gitignore filesDaniel Stenberg
2010-03-16Factored out some code into a few independent functionsDan Fandrich
2010-02-26fix sizeof shortYang Tse
2010-02-26Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systemsYang Tse
2010-02-25Fixed bug report #2958074 indicatingYang Tse
(http://curl.haxx.se/bug/view.cgi?id=2958074) that curl on Windows with option --trace-time did not use local time when timestamping trace lines. This could also happen on other systems depending on time souurce.
2010-02-16replaced tabs with spacesYang Tse
2010-02-15use (void) in front of fwrite() calls that ignore the return codeDaniel Stenberg
2010-02-14removed trailing whitespaceYang Tse
2010-02-12CURLOPT_MAIL_RCPT is *not* a string so we must not try to printf() itDaniel Stenberg
2010-02-12free --mail-from strings properlyDaniel Stenberg
2010-02-03Changed the Watcom makefiles to make them easier to keep in sync withDan Fandrich
Makefile.inc since that can't be included directly.
2010-02-03Fix progressmode Configurable struct member data type. Changed toYang Tse
'int' which fits better with existing CURL_PROGRESS_* definitions.
2010-02-02Fix compiler warnings:Yang Tse
(1) conversion from 'const int ' to 'unsigned char ', possible loss of data (2) conditional expression is constant
2010-01-29fix printf-style format stringsYang Tse
2010-01-27fix compiler warningYang Tse
2010-01-25fix compiler warningYang Tse
2010-01-24HAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 buildsYang Tse