aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-01-05Based on further discussion on curl-library, I reverted yesterday's SOCKS5Daniel Stenberg
code to instead introduce support for a new proxy type called CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy instead of IP address and there's thus no longer any need for a new curl_easy_setopt() option. The default SOCKS5 proxy is again back to sending the IP address to the proxy. The new curl command line option for enabling sending host name to a SOCKS5 proxy is now --socks5-hostname.
2008-01-05Don't abort operation when attempting to set SO_KEEPALIVEYang Tse
fails, just issue a warning and ignore the failure.
2008-01-04Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let theDaniel Stenberg
proxy do the host name resolving and only if --socks5ip (or CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and pass on the IP address only to the proxy.
2008-01-02Richard Atterer brought a patch that added support for SOCKS4a proxies, whichDaniel Stenberg
is an inofficial PROXY4 variant that sends the hostname to the proxy instead of the resolved address (which is already supported by SOCKS5). --socks4a is the curl command line option for it and CURLOPT_PROXYTYPE can now be set to CURLPROXY_SOCKS4A as well.
2008-01-01Mohun Biswas pointed out that --libcurl generated a source code with an intDaniel Stenberg
function but without a return statement. While fixing that, I also took care about adding some better comments for the generated code.
2007-12-19Ensure that nroff doesn't put anything but ASCII characters into theDan Fandrich
--manual text.
2007-12-18(http://curl.haxx.se/mail/archive-2007-12/0039.html) reported and fixedYang Tse
a file truncation problem on Windows build targets triggered when retrying a download with curl.
2007-12-18MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP,Yang Tse
and makes wrong asumptions of build target when it isn't specified. So, if no build target has been defined we will target WinXP when building with MSVC 9.0 (VS2008).
2007-12-13Fix compiler warningYang Tse
2007-12-12Gilles Blanc made the curl tool enable SO_KEEPALIVE for the connections andDaniel Stenberg
added the --no-keep-alive option that can disable that on demand.
2007-12-09Removed use of '..\lib\libcurl_wc.lib' as this is not reallyGisle Vanem
a static-lib. Renamed 'OBJ_DIR' to 'WC_Win32.obj'.
2007-12-08fix a crash in oom situations (thanks runtests.pl -t!)Daniel Stenberg
2007-11-26#1 fixed --data-urlencode when no = or @ was usedDaniel Stenberg
#2 extended the user-agent buffer since I hit the 128 byte boundary!
2007-11-22make nlen a size_t to better hold diffs between pointers etcDaniel Stenberg
2007-11-22Alessandro Vesely helped me improve the --data-urlencode's syntax, parserDaniel Stenberg
and documentation.
2007-11-20Introuced --data-urlencode to the curl tool for easier url encoding of theDaniel Stenberg
data sent in a post.
2007-11-18removed now obsolete defines;Gunter Knauf
updated external library versions to latest.
2007-11-15Replace isgraph with our uppercase macro versionYang Tse
2007-11-08Define WIN32 when build target is Win32 API.Yang Tse
This also defines it for WinCE even though it is a subset of WIN32.
2007-11-07MSVC versions prior to VS2005 do not complain about portable C functionsYang Tse
2007-11-01Toby Peterson patched a memory problem in the command line tool thatDaniel Stenberg
happened when a user had a home dir as an empty string. curl would then do free() on a wrong area.
2007-10-24Windows build targets have socklen_t definition in ws2tcpip.h but someYang Tse
versions of ws2tcpip.h do not have the definition. It seems that when the socklen_t definition is missing from ws2tcpip.h the definition for INET_ADDRSTRLEN is also missing, and that when one definition is present the other one also is available.
2007-10-24Vladimir Lazarenko pointed out that we should do some 'mt' magic whenDaniel Stenberg
building with VC8 to get the "manifest" embedded to make fine stand-alone binaries. The maketgz and the src/Makefile.vc6 files were adjusted accordingly.
2007-10-09added two more module dependencies for LDAPS.Gunter Knauf
2007-10-03Based on a patch brought by Johnny Luong, libcurl now offersDaniel Stenberg
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make the SCP or SFTP connection verify the remote host's md5 checksum of the public key before doing a connect, to reduce the risk of a man-in-the-middle attack.
2007-09-26Philip Langdale provided the new CURLOPT_POST301 option forDaniel Stenberg
curl_easy_setopt() that alters how libcurl functions when following redirects. It makes libcurl obey the RFC2616 when a 301 response is received after a non-GET request is made. Default libcurl behaviour is to change method to GET in the subsequent request (like it does for response code 302 - because that's what many/most browsers do), but with this CURLOPT_POST301 option enabled it will do what the spec says and do the next request using the same method again. I.e keep POST after 301. The curl tool got this option as --post301 Test case 1011 and 1012 were added to verify.
2007-09-21Mark Davies fixed Negotiate authentication over proxy, and also introducedDaniel Stenberg
the --proxy-negotiate command line option to allow a user to explicitly select it.
2007-09-20Fixed typo in error message.Dan Fandrich
2007-09-15fixed VC6 makefiles for new ldap linkage.Gunter Knauf
2007-08-31Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED.Dan Fandrich
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility.
2007-08-30Renamed several libcurl error codes and options to make them more generalDan Fandrich
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3)
2007-08-25only link with -lwldap32 if we dont use other LDAP SDKs.Gunter Knauf
2007-08-24added defines to build with OpenLDAP.Gunter Knauf
2007-08-21sync libssh2 paths with comments.Gunter Knauf
2007-08-21added targets to create the files missing in CVS which makes calling ↵Gunter Knauf
buildconf.bat obsolete; removed obsolete wsock32 link lib.
2007-08-20fixed wrong CLAGS define.Gunter Knauf
2007-08-20compile with ldaps by default since it seems to work fine so far.Gunter Knauf
2007-08-20added some comments about the paths and build options;Gunter Knauf
added define to build with ldaps support; enabled build with the Novell LDAP SDK.
2007-08-20added define for ldap_ssl.h.Gunter Knauf
2007-08-19ignore errors of the RM command; seems that the del command fails on W2K ↵Gunter Knauf
when the file to delete isnt found while on XP it only prints the warning but make continues....
2007-08-19added some comments in the makefiles about build options.Gunter Knauf
2007-08-14added a dependency for libcares if build with ares support;Gunter Knauf
other minor makefile tweaks.
2007-08-14only include LDAP headers if we build with LDAP support.Gunter Knauf
2007-08-14added -lwldap32 to link libs.Gunter Knauf
2007-08-14changed autoload dependent LDAP NLM.Gunter Knauf
2007-08-14trial to enable LDAP support again with patched Novell headers.Gunter Knauf
2007-08-12minor change in language for the --libcurl source headerDaniel Stenberg
2007-08-11Patrick Monnerat modified the LDAP code and approach in curl. Starting now,Daniel Stenberg
the configure script checks for openldap and friends and we link with those libs just like we link all other third party libraries, and we no longer dlopen() those libraries. Our private header file lib/ldap.h was renamed to lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix) just before this commit, just in case.
2007-08-08removed asm rules since we have no asm in the sources, and this produced 2 ↵Gunter Knauf
warnings.
2007-08-08blocked ssize_t define for MingW32.Gunter Knauf