aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-03-08- Bill Egert pointed out (http://curl.haxx.se/bug/view.cgi?id=2671602) thatDaniel Stenberg
curl didn't use sprintf() in a way that is documented to work in POSIX but since we use our own printf() code (from libcurl) that shouldn't be a problem. Nonetheless I modified the code to not rely on such particular features and to not cause further raised eyebrowse with no good reason.
2009-02-20Do not halt compilation when using VS2008 to build a Windows 2000 targetYang Tse
2009-02-18spell-fixed comments and other minor non-code editsDaniel Stenberg
2009-02-17- CURLOPT_FTP_CREATE_MISSING_DIRS can now be set to 2 in addition to 1 forDaniel Stenberg
plain FTP connections, and it will then allow MKD to fail once and retry the CWD afterwards. This is especially useful if you're doing many simultanoes connections against the same server and they all have this option enabled, as then CWD may first fail but then another connection does MKD before this connection and thus MKD fails but trying CWD works! The numbers can (should?) now be set with the convenience enums now called CURLFTP_CREATE_DIR and CURLFTP_CREATE_DIR_RETRY. Tests has proven that if you're making an application that uploads a set of files to an ftp server, you will get a noticable gain in speed if you're using multiple connections and this option will be then be very useful.
2009-02-05Added an explicit buffer limit check in msdosify() (patch based on FreeBSD).Dan Fandrich
This couldn't ever overflow in curl, but might if the code were used elsewhere or under different conditions.
2009-02-02- Craig A West brought us: libcurl now defaults to do CONNECT with HTTPDaniel Stenberg
version 1.1 instead of 1.0 like before. This change also introduces the new proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0 option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0. I updated all test cases cases that use CONNECT and I tried to do some using --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
2009-01-29Introduced curl_sspi.c and curl_sspi.h for the implementation of functionsYang Tse
Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c Also adjusted socks_sspi.c to remove the link-time dependency on the Windows SSPI library using it now in the same way as it was done in http_ntlm.c.
2009-01-28- Markus Moeller introduced two new options to libcurl:Daniel Stenberg
CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl to do GSS-style authentication with SOCKS5 proxies. The curl tool got the options called --socks5-gssapi-service and --socks5-gssapi-nec to enable these.
2009-01-26added CURLX_ONES again to object list for dynamic linking.Gunter Knauf
2009-01-25- Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.Daniel Stenberg
They basically offer the same thing the NO_PROXY environment variable only offered previously: list a set of host names that shall not use the proxy even if one is specified.
2009-01-07Created a CURLMIN macro to match CURLMAXDan Fandrich
2008-12-30added HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID to ares Makefile.netware and sync'd ↵Gunter Knauf
with other Makefile.netware.
2008-12-30changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since ↵Gunter Knauf
just found that ares already uses this define.
2008-12-30added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to ↵Gunter Knauf
be IPv6-aware.
2008-12-16Added the use of Watt-32 tcp/ip stack for Win32 targets.Gisle Vanem
Added USE_WATT32 unconditionally for MSDOS targets since it's the only option. Adjusted the text for '--wdebug'.
2008-11-17the IP address we want/request/use from the interface is the 'local'Yang Tse
address, the one on the box libcurl is running, not the 'remote' one.
2008-11-17if2ip.c related preprocessor cleanupYang Tse
2008-11-14check for NULL returns from strdup() - reported by Jim MeyeringDaniel Stenberg
also prevent buffer overflow on MSDOS when you do for example -O on a url with a file name part longer than PATH_MAX letters
2008-11-13Refactor configure script detection of functions used to set sockets intoYang Tse
non-blocking mode, and decouple function detection from function capability.
2008-11-13changed to latest libidn version.Gunter Knauf
2008-11-13changed defines to make autobuild logs display libidn usage.Gunter Knauf
2008-11-11updated OpenSSL version.Gunter Knauf
2008-11-11added libidn build.Gunter Knauf
2008-11-11updated coment, updated OpenSSL version.Gunter Knauf
2008-11-11added libidn build.Gunter Knauf
2008-11-03If building with CURLDEBUG, sprintf() is defined away. So use curl_msprintf()Gisle Vanem
and not sprintf().
2008-11-01Adjust WIN32 freeaddrinfo, getaddrinfo and getnameinfo availabilityYang Tse
2008-11-01WIN32 availability of freeaddrinfo, getaddrinfo and getnameinfo functions is ↵Yang Tse
quite convoluted, compiler dependant and in some cases even build target dependat.
2008-10-30NetWare LIBC target has getaddrinfo() and freeaddrinfo()Yang Tse
2008-10-28curlx.h isn't a system include file so it gets double quotesDan Fandrich
2008-10-27Added rawstr.c to some more non-configure curl makefilesDan Fandrich
2008-10-27Added explicit rule and dependencies for $(OBJ_DIR)\rawstr.obj.Gisle Vanem
2008-10-25add missing header inclusionsYang Tse
2008-10-24fix compiler warningYang Tse
2008-10-23Added rawstr.c to the non-configure curl makefilesDan Fandrich
2008-10-23moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_Daniel Stenberg
inclusion by the curl tool without colliding with the curl_strequal functions.
2008-10-19Fixed potential memory leak in OOM situations. Detected by coverity.comDaniel Stenberg
2008-10-19dumpeasycode() uses warnf() which uses config->errors so we must not closeDaniel Stenberg
that before dumpeasycode() is called. Found by coverity.com
2008-10-19Removed dead code, identified by coverity.com.Daniel Stenberg
2008-10-17After having studied one of the coverity.com reports at length last night, IDaniel Stenberg
decided it was a good idea to properly document my thoughts in a comment near the code that was identified as a possible flaw. A false positive as far as I can see.
2008-10-16compile the library file strequal.c to get the Curl_raw_equal function asDaniel Stenberg
that's not exported by the lib
2008-10-16Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper functionDaniel Stenberg
used in strequal.c so now all test cases run fine for me again.
2008-10-15- Pascal Terjan filed bug #2154627Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl uses strcasecmp() in multiple places where it causes failures when the Turkish locale is used. This is because 'i' and 'I' isn't the same letter so strcasecmp() on those letters are different in Turkish than in English (or just about all other languages). I thus introduced a totally new internal function in libcurl (called Curl_ascii_equal) for doing case insentive comparisons for english-(ascii?) style strings that thus will make "file" and "FILE" match even if the Turkish locale is selected.
2008-10-14eeek, append 1 on the right place as otherwise we didn't fix the problemDaniel Stenberg
2008-10-13Prevent the accidental passing along NULL for the cases where the --traceDaniel Stenberg
options don't succeed in opening the target file etc. Detected by coverity.com
2008-10-13Prevent an off-by-one in a allocated buffer in glob_match_url() - detected byDaniel Stenberg
coverity.com
2008-10-09Update docs now that SFTP supports file ranges.Dan Fandrich
2008-09-30remove unnecessary typecast, otherwise triggering compiler warning:Yang Tse
dereferencing type-punned pointer will break strict-aliasing rules
2008-09-24HAVE_INET_PTON will only be defined when an IPv6 capable workingYang Tse
inet_pton function is available.
2008-09-24ntoa() and inet_ntoa_r() no longer usedYang Tse