summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* updated makefiles to use global copyright define.Gunter Knauf2008-01-241-1/+1
|
* minor makefile tweaks.Gunter Knauf2008-01-241-3/+3
|
* happy new yearGunter Knauf2008-01-241-1/+1
|
* use more correctly named define.Gunter Knauf2008-01-242-1/+2
|
* use copyright define instead of hardcoded string.Gunter Knauf2008-01-241-1/+2
|
* update openssl versionYang Tse2008-01-231-1/+1
|
* STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO clone macrosYang Tse2008-01-231-0/+12
|
* check availability of poll.h header at configuration time, and includeYang Tse2008-01-221-0/+2
| | | | it when sys/poll.h is unavailable
* update copyright yearYang Tse2008-01-221-2/+2
|
* rephrased the --socks5-hostname help output somewhatDaniel Stenberg2008-01-191-1/+1
|
* to actually allow really big HTTP POSTs curl's postfieldsize type is changed toYang Tse2008-01-181-2/+2
| | | | curl_off_t and CURLOPT_POSTFIELDSIZE_LARGE is used to pass value to libcurl
* fix compiler warningYang Tse2008-01-171-1/+1
|
* updated lib versions.Gunter Knauf2008-01-171-2/+2
|
* updated copyright for new year.Gunter Knauf2008-01-171-1/+1
|
* fix handling of out of memory in the command line tool that afectedYang Tse2008-01-161-74/+95
| | | | data url encoded HTTP POSTs when reading it from a file.
* fix compiler warningYang Tse2008-01-131-1/+3
|
* I re-arranged the curl --help output. All the options are now sorted onDaniel Stenberg2008-01-121-63/+69
| | | | their long option names and all descriptions are one-liners.
* Eric Landes provided the patch (edited by me) that introduces theDaniel Stenberg2008-01-121-9/+48
| | | | | | | | --keepalive-time to curl to set the keepalive probe interval. I also took the opportunity to rename the recently added no-keep-alive option to no-keepalive to keep a consistent naming and to avoid getting two dashes in these option names. Eric also provided an update to the man page for the new option.
* I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use theDaniel Stenberg2008-01-111-56/+76
| | | | | | | | | spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved performance for the upload resume cases where you want to upload the last few bytes of a very large file. To implement this decently, I had to switch the client code for uploading from fopen()/fread() to plain open()/read() so that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that) on systems that offer support for that.
* Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allowDaniel Stenberg2008-01-101-0/+26
| | | | | | | | | | | libcurl to seek in a given input stream. This is particularly important when doing upload resumes when there's already a huge part of the file present remotely. Before, and still if this callback isn't used, libcurl will read and through away the entire file up to the point to where the resuming begins (which of course can be a slow opereration depending on file size, I/O bandwidth and more). This new function will also be preferred to get used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when doing multi-stage HTTP auth with POST/PUT.
* fix compiler warningYang Tse2008-01-091-1/+1
|
* Richard Atterer reverted back what I missed in my previous revert ;-)Daniel Stenberg2008-01-061-2/+2
|
* Based on further discussion on curl-library, I reverted yesterday's SOCKS5Daniel Stenberg2008-01-051-16/+8
| | | | | | | | | | | 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.
* Don't abort operation when attempting to set SO_KEEPALIVEYang Tse2008-01-051-1/+3
| | | | fails, just issue a warning and ignore the failure.
* Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let theDaniel Stenberg2008-01-041-7/+23
| | | | | | 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.
* Richard Atterer brought a patch that added support for SOCKS4a proxies, whichDaniel Stenberg2008-01-021-0/+6
| | | | | | | 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.
* Mohun Biswas pointed out that --libcurl generated a source code with an intDaniel Stenberg2008-01-011-2/+5
| | | | | function but without a return statement. While fixing that, I also took care about adding some better comments for the generated code.
* Ensure that nroff doesn't put anything but ASCII characters into theDan Fandrich2007-12-191-1/+3
| | | | --manual text.
* (http://curl.haxx.se/mail/archive-2007-12/0039.html) reported and fixedYang Tse2007-12-181-11/+9
| | | | | a file truncation problem on Windows build targets triggered when retrying a download with curl.
* MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP,Yang Tse2007-12-181-0/+14
| | | | | | 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).
* Fix compiler warningYang Tse2007-12-131-4/+3
|
* Gilles Blanc made the curl tool enable SO_KEEPALIVE for the connections andDaniel Stenberg2007-12-121-0/+35
| | | | added the --no-keep-alive option that can disable that on demand.
* Removed use of '..\lib\libcurl_wc.lib' as this is not reallyGisle Vanem2007-12-091-18/+3
| | | | a static-lib. Renamed 'OBJ_DIR' to 'WC_Win32.obj'.
* fix a crash in oom situations (thanks runtests.pl -t!)Daniel Stenberg2007-12-081-1/+5
|
* #1 fixed --data-urlencode when no = or @ was usedDaniel Stenberg2007-11-261-2/+4
| | | | #2 extended the user-agent buffer since I hit the 128 byte boundary!
* make nlen a size_t to better hold diffs between pointers etcDaniel Stenberg2007-11-221-1/+1
|
* Alessandro Vesely helped me improve the --data-urlencode's syntax, parserDaniel Stenberg2007-11-221-11/+15
| | | | and documentation.
* Introuced --data-urlencode to the curl tool for easier url encoding of theDaniel Stenberg2007-11-201-16/+95
| | | | data sent in a post.
* removed now obsolete defines;Gunter Knauf2007-11-181-2/+2
| | | | updated external library versions to latest.
* Replace isgraph with our uppercase macro versionYang Tse2007-11-151-1/+1
|
* Define WIN32 when build target is Win32 API.Yang Tse2007-11-081-6/+4
| | | | This also defines it for WinCE even though it is a subset of WIN32.
* MSVC versions prior to VS2005 do not complain about portable C functionsYang Tse2007-11-071-4/+6
|
* Toby Peterson patched a memory problem in the command line tool thatDaniel Stenberg2007-11-011-1/+3
| | | | | happened when a user had a home dir as an empty string. curl would then do free() on a wrong area.
* Windows build targets have socklen_t definition in ws2tcpip.h but someYang Tse2007-10-241-5/+0
| | | | | | | 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.
* Vladimir Lazarenko pointed out that we should do some 'mt' magic whenDaniel Stenberg2007-10-241-0/+7
| | | | | | 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.
* added two more module dependencies for LDAPS.Gunter Knauf2007-10-091-2/+2
|
* Based on a patch brought by Johnny Luong, libcurl now offersDaniel Stenberg2007-10-031-0/+14
| | | | | | 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.
* Philip Langdale provided the new CURLOPT_POST301 option forDaniel Stenberg2007-09-261-14/+23
| | | | | | | | | | | | | | 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.
* Mark Davies fixed Negotiate authentication over proxy, and also introducedDaniel Stenberg2007-09-211-0/+11
| | | | | the --proxy-negotiate command line option to allow a user to explicitly select it.
* Fixed typo in error message.Dan Fandrich2007-09-201-1/+1
|