aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2006-03-27David Byron found a problem multiple -d options when libcurl was built withDaniel Stenberg
--enable-debug, as then curl used free() on memory allocated both with normal malloc() and with libcurl-provided functions, when the latter MUST be freed with curl_free() in debug builds.
2006-03-20off-by-one for the case when it adds /? and a terminating zero to the URLDaniel Stenberg
2006-03-14use the new types accordinglyDaniel Stenberg
2006-02-28Don't lock up at start when there aren't any free file descriptors.Dan Fandrich
2006-02-21two typos in commentsDaniel Stenberg
2006-02-21Peter Su added support for SOCKS4 proxies. Enable this by setting the proxyDaniel Stenberg
type to the already provided type CURLPROXY_SOCKS4. I added a --socks4 option that works like the current --socks5 option but instead use the socks4 protocol.
2006-02-07avoid illegal memory access when doing "-T [URL] [URL]"Daniel Stenberg
2006-02-01fixed --limit-rateDaniel Stenberg
2006-02-01Make --limit-rate [num] mean bytes. Seems I broke it back in november 2005...Daniel Stenberg
2006-01-30Added CURLOPT_LOCALPORT and CURLOPT_LOCALPORTRANGE to libcurl. Set with theDaniel Stenberg
curl tool with --local-port. Plain and simply set the range of ports to bind the local end of connections to. Implemented on to popular demand. Not extensively tested. Please let me know how it works.
2005-12-19Fixed compiler warning on libc5.Dan Fandrich
2005-12-18Cleanup windows header includes. Where aplicable, inclusion ofYang Tse
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-12-08Fix a couple of compiler warningsYang Tse
2005-12-05Another Yang Tse warning cleanup raid!Daniel Stenberg
2005-11-28new experimental "ftp method" codeDaniel Stenberg
2005-11-23Yang Tse fixed MSVC 6.0 warningsDaniel Stenberg
2005-11-13prevent compiler warningDaniel Stenberg
2005-11-13Debian bug report 338681 by Jan Kunder: make curl better detect and report badDaniel Stenberg
limit-rate units: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338681 Now curl will return error if a bad unit is used.
2005-10-27Nis Jorgensen filed bug report #1338648Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1338648) which really is more of a feature request, but anyway. It pointed out that --max-redirs did not allow it to be set to 0, which then would return an error code on the first Location: found. Based on Nis' patch, now libcurl supports CURLOPT_MAXREDIRS set to 0, or -1 for infinity. Added test case 274 to verify.
2005-10-27tommink[at]post.pl reported in bug report #1337723Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1337723) that curl could not upload binary data from stdin on Windows if the data contained control-Z (hex 1a) since that is treated as end-of-file when read in text mode. Gisle Vanem pointed out the fix, and I made both -T and --data-binary take advantage of it.
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.