aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2005-10-27Jaz Fresh pointed out that if you used "-r [number]" as was wrongly describedDaniel Stenberg
in the man page, curl would send an invalid HTTP Range: header. The correct way would be to use "-r [number]-" or even "-r -[number]". Starting now, curl will warn if this is discovered, and automatically append a dash to the range before passing it to libcurl.
2005-10-20shorted and unified language in the --help outputDaniel Stenberg
2005-09-07Ben Madsen reported a problem that only seemed to occur with certain specificDaniel Stenberg
glibc versions, and with this patch applied it no longer shows up to me. The problem was indeed a flaw that made curl use a file handle already closed.
2005-09-047.14.2 actuallyDaniel Stenberg
2005-09-04Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ipDaniel Stenberg
2005-08-24Toby Peterson added CURLOPT_IGNORE_CONTENT_LENGTH to the library, accessibleDaniel Stenberg
from the command line tool with --ignore-content-length. This will make it easier to download files from Apache 1.x (and similar) servers that are still having problems serving files larger than 2 or 4 GB. When this option is enabled, curl will simply have to wait for the server to close the connection to signal end of transfer. I wrote test case 269 that runs a simple test that this works.
2005-08-16typecase the isspace() argument to intDaniel Stenberg
2005-08-15Added more verbose "warning" messages to the curl client for cases where itDaniel Stenberg
fails to open/read files etc to help users diagnose why it doesn't do what you'd expect it to. Converted lots of old messages to use the new generic function I wrote for this purpose.
2005-08-12o curl -d @filename when 'filename' was not possible to access no longerDaniel Stenberg
converts the request to a GET, but now instead makes it a POST of no data o The time condition illegal syntax warning is now inhibited if -s is used.
2005-05-25output the full usec when --trace-time is usedDaniel Stenberg
2005-05-12warn about bad -z syntaxDaniel Stenberg
2005-05-08silence compiler warningsDaniel Stenberg
2005-05-02Added --trace-time that when used adds a time stamp to each trace line thatDaniel Stenberg
--trace, --trace-ascii and --verbose output. I also made the '>' display separate each line on the linefeed so that HTTP requests etc look nicer in the -v output.
2005-05-02Made curl recognize the environment variables Lynx (and others?) support forDaniel Stenberg
pointing out the CA cert path/file: SSL_CERT_DIR and SSL_CERT_FILE. If CURL_CA_BUNDLE is not set, they are checked afterwards.
2005-05-01prevent two compiler warnings on comparisons between signed and unsignedDaniel Stenberg
2005-04-27Paul Moore made curl check for the .curlrc file (_curlrc on windows) on twoDaniel Stenberg
more places. First, CURL_HOME is a new environment variable that is used instead of HOME if it is set, to point out where the default config file lives. If there's no config file in the dir pointed out by one of the environment variables, the Windows version will instead check the same directory the executable curl is located in.
2005-04-23Alex Suykov's ftp upload show progress meter patch, slightly adjusted.Daniel Stenberg
2005-04-22Set the retry delay variables after the option parsing, as bug reportDaniel Stenberg
#1187787 points out.
2005-03-28Added --proxy-anyauthDaniel Stenberg
2005-03-12David Houlder added --form-stringDaniel Stenberg
2005-03-11curl_version_info() returns the feature bit CURL_VERSION_SSPIDaniel Stenberg
2005-03-07fseek() with SEEK_SET is broken on large file capable 32-bit systems, soDan Fandrich
revert to the SEEK_END method of repositioning the stream after a ftruncate() and only use SEEK_SET if ftruncate() isn't available.
2005-03-05Better cope with a failed or unavailable ftruncate().Dan Fandrich
Added HAVE_FTRUNCATE to all the static config-*.h files on the assumption that all those systems provide it.
2005-03-04Rene Rebe fixed a -# crash when more data than expected was retrieved.Daniel Stenberg
2005-02-09FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
2005-01-27a slightly involved work-around to prevent the debug-tracing from loggingDaniel Stenberg
a free-without-alloc as the first call
2005-01-27Make the debug build get the debug dump file path from the environmentDaniel Stenberg
variable to allow the test suite to better control where it ends up.
2005-01-25Ian Ford asked about support for the FTP command ACCT, and I discovered it isDaniel Stenberg
present in RFC959... so now (lib)curl supports it as well. --ftp-account and CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account string after PASS have been sent away. The client responds with "ACCT [account string]".) Added test case 228 and 229 to verify the functionality. Updated the test FTP server to support ACCT somewhat.
2005-01-21FTP third transfer support overhaul. See CHANGES for details.Daniel Stenberg
2005-01-20Philippe Hameau found out that -Q "+[command]" didn't work, although some codeDaniel Stenberg
was written for it. I fixed and added test case 227 to verify it. The curl.1 man page didn't mention the '+' so I added it.
2005-01-06prevent a single byte read outside the string in test case 39Daniel Stenberg
2005-01-06fixed #1097019, multiple GET posts (-G) errorDaniel Stenberg
2004-12-20Fixed a compile warning introduced by making the protocol table const. ThisDan Fandrich
involves a binary-compatible change to the API struct curl_version_info_data
2004-12-18Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well.Daniel Stenberg
2004-12-17s/_write/write/gGisle Vanem
2004-12-16Support uploading and resuming of >2GB files.Gisle Vanem
Ref. lib/file.c.
2004-12-15moved the bool typedef to setup.hDaniel Stenberg
2004-12-15Make some arrays of pointers const, too.Dan Fandrich
2004-12-15Add 'const' to immutable arrays.Dan Fandrich
2004-12-14Caller must free 'engines' list.Gisle Vanem
2004-12-13Support for "--engine list" option.Gisle Vanem
Moved CURLOPT_SSLENGINE* options to after verbose mode is set. Added a goto. Eek!
2004-11-24Provide a 64-bit capable ftruncate(). MingW has one, butGisle Vanem
it takes only 32-bit offsets.
2004-11-24HTTP "auth done right". See lib/README.httpauthDaniel Stenberg
2004-11-14Borland doesn't have <sys/utime.h>, utime() norGisle Vanem
_lseeki64().
2004-11-11Fix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST.Daniel Stenberg
2004-11-08another lame change in an attempt to fix the moot gcc 3.4 warningDaniel Stenberg
2004-11-08weirdo hack to fix debian bug report 278691:Daniel Stenberg
'curl -v writes debugging to its network socket if stderr is closed'
2004-11-08added a default in the switch in an attempt to avoid the moot "will never beDaniel Stenberg
executed" warning by gcc 3.4.0
2004-11-04more retry stuffDaniel Stenberg
2004-10-28Fixed _write() arguments.Gisle Vanem