aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2007-03-09- Justin Fletcher fixed a file descriptor leak in the curl tool when trying toDaniel Stenberg
upload a file it couldn't open. Bug #1676581 (http://curl.haxx.se/bug/view.cgi?id=1676581)
2007-03-06Fixed a couple of problems detected by valgrind in test cases 181 & 216Dan Fandrich
2007-02-28proper symbol definition check for all AmigaOS flavoursYang Tse
2007-02-25Constify some arguments.Gisle Vanem
2007-02-23- Added warning outputs if the command line uses more than one of the optionsDaniel Stenberg
-v, --trace and --trace-ascii, since it could really confuse the user. Clarified this fact in the man page.
2007-02-20New FTP CCC functionality - adds passive and active mode to accomodate for ↵Linus Nielsen Feltzing
different server behaviour
2007-02-20curl tool was using functions curlx_tvnow and curlx_tvdiff which are notYang Tse
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, curl tool, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now curlutil.h and curlutil.c define and implement cutil_tvnow and cutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the curl tool. Doing this we avoid the above described problems.
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse
2007-02-12- Shmulik Regev fixed so that the final CRLF of HTTP response headers are sentDaniel Stenberg
to the debug callback. - Shmulik Regev added CURLOPT_HTTP_CONTENT_DECODING and CURLOPT_HTTP_TRANSFER_DECODING that if set to zero will disable libcurl's internal decoding of content or transfer encoded content. This may be preferable in cases where you use libcurl for proxy purposes or similar. The command line tool got a --raw option to disable both at once.
2007-01-27- David McCreedy fixed the Curl command line tool for HTTP on non-ASCIIDaniel Stenberg
platforms.
2007-01-26Remove LoadLibrary() (from my private build).Gisle Vanem
2007-01-26Free 'config->libcurl' at exit.Gisle Vanem
2007-01-26Use "%Od" instead of CURL_FORMAT_OFF_T for <curlx.h> functions.Gisle Vanem
2007-01-26Options of type CURLOPTTYPE_FUNCTIONPOINT are never printable.Gisle Vanem
2007-01-25ugha, prevent a buffer overflow and allow very long strings in the generatedDaniel Stenberg
libcurl source...
2007-01-25- Added the --libcurl [file] option to curl. Append this option to anyDaniel Stenberg
ordinary curl command line, and you will get a libcurl-using source code written to the file that does the equivalent operation of what your command line operation does!
2007-01-23Speed-up djgpp's stat() by avoid checking for uneeded stuff.Gisle Vanem
2007-01-05- Linus Nielsen Feltzing introduced the --ftp-ssl-ccc command line option toDaniel Stenberg
curl that uses the new CURLOPT_FTP_SSL_CCC option in libcurl. If enabled, it will make libcurl shutdown SSL/TLS after the authentication is done on a FTP-SSL operation.
2006-12-15Plug more leaks.Gisle Vanem
2006-12-14Free 'config->iface' if set.Gisle Vanem
2006-10-19Here's an effort to avoid saying 'data not shown' in the debug parts when theDaniel Stenberg
data is actually shown on screen. Like when you do 'curl -v host' with data and debug info sent to the same terminal.
2006-10-17Avoid typecasting a signed char to an int when using is*() functions, as thatDaniel Stenberg
could very well cause a negate number get passed in and thus cause reading outside of the array usually used for this purpose. We avoid this by using the uppercase macro versions introduced just now that does some extra crazy typecasts to avoid byte codes > 127 to cause negative int values.
2006-10-13The tagging of application/x-www-form-urlencoded POST body data sentDan Fandrich
to the CURLOPT_DEBUGFUNCTION callback has been fixed (it was erroneously included as part of the header). A message was also added to the command line tool to show when data is being sent, enabled when --verbose is used.
2006-10-12the textual arraw for "Send SSL data" was the wrong wayDaniel Stenberg
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse
2006-09-30Support for FTP third party transfers is now droppedDaniel Stenberg
2006-09-24--ftp-ssl-control requires SSL/TLS, it does not "try" itDaniel Stenberg
2006-09-23--ftp-alternative-to-user was missing in the help textDaniel Stenberg
2006-09-23Mike Protts added --ftp-ssl-control to make curl use FTP-SSL, but onlyDaniel Stenberg
encrypt the control connection and use the data connection "plain".
2006-09-13Fix error introduced in file version 1.369Yang Tse
2006-09-12Compiler warning fixYang Tse
2006-09-11- Fixed my breakage from earlier today so that doing curl_easy_cleanup() on aDaniel Stenberg
handle that is part of a multi handle first removes the handle from the stack. - Added CURLOPT_SSL_SESSIONID_CACHE and --no-sessionid to disable SSL session-ID re-use on demand since there obviously are broken servers out there that misbehave with session-IDs used.
2006-08-16Minor portability fixes to get things running on UNICOS 9.0 on a Cray Y-MPDan Fandrich
2006-07-26David McCreedy added --ftp-ssl-reqd which makes curl *require* SSL for bothDaniel Stenberg
control and data connection, as the existing --ftp-ssl option only requests it.
2006-07-25Dan Nelson added the CURLOPT_FTP_ALTERNATIVE_TO_USER libcurl option and curlDaniel Stenberg
tool option named --ftp-alternative-to-user. It provides a mean to send a particular command if the normal USER/PASS approach fails.
2006-07-25Added CURL_VERSION_CONV feature string.Gisle Vanem
2006-07-19Avoid variable declaration shadowing previously declared oneYang Tse
2006-07-11Moved strdup replacement from src/main.c into src/strdup.c so it's availableDan Fandrich
in libcurl as well, if necessary.
2006-06-22Peter Silva introduced CURLOPT_MAX_SEND_SPEED_LARGE andDaniel Stenberg
CURLOPT_MAX_RECV_SPEED_LARGE that limit tha maximum rate libcurl is allowed to send or receive data. This kind of adds the the command line tool's option --limit-rate to the library. The rate limiting logic in the curl app is now removed and is instead provided by libcurl itself. Transfer rate limiting will now also work for -d and -F, which it didn't before.
2006-06-19make -K on a bad file now displays a warningDaniel Stenberg
2006-06-08Brian Dessent's fixes for cygwin buildsDaniel Stenberg
2006-04-25--ftp-method was missing in the --help output, as mentioned by Manfred SchwarbDaniel Stenberg
2006-04-11#1468330 (http://curl.haxx.se/bug/view.cgi?id=1468330) pointed out a badDaniel Stenberg
typecast in the curl tool leading to a crash with (64bit?) VS2005 (at least) since the struct timeval field tv_sec is an int while time_t is 64bit.
2006-04-09CURLE_FTP_USER_PASSWORD_INCORRECT is not returned by libcurl anymore!Daniel Stenberg
2006-04-07First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg
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