aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
AgeCommit message (Collapse)Author
2008-01-12I re-arranged the curl --help output. All the options are now sorted onDaniel Stenberg
their long option names and all descriptions are one-liners.
2008-01-12Eric Landes provided the patch (edited by me) that introduces theDaniel Stenberg
--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.
2008-01-11Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way itDaniel Stenberg
already worked for FTP:// URLs
2008-01-11I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use theDaniel Stenberg
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.
2008-01-10Michal Marek made curl-config --libs not include /usr/lib64 in the outputDaniel Stenberg
(it already before skipped /usr/lib). /usr/lib64 is the default library directory on many 64bit systems and it's unlikely that anyone would use the path privately on systems where it's not.
2008-01-10Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allowDaniel Stenberg
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.
2008-01-10Nikitinskit Dmitriy filed bug report #1868255Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1868255) with a patch. It identifies and fixes a problem with parsing WWW-Authenticate: headers with additional spaces in the line that the parser wasn't written to deal with.
2008-01-08Introducing curl_easy_pause() and new magic return codes for both the readDaniel Stenberg
and the write callbacks that now can make a connection's reading and/or writing get paused.
2008-01-06Jeff Johnson filed bug report #1863171Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1863171) where he pointed out that libcurl's date parser didn't accept a +1300 time zone which actually is used fairly often (like New Zealand's Dailight Savings Time), so I modified the parser to now accept up to and including -1400 to +1400.
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-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-03Modify test harness so that the minimum SSH version required to runYang Tse
SCP, SFTP and SOCKS4 tests is now OpenSSH 2.9.9 or SunSSH 1.0 For SOCKS5 tests minimum versions are OpenSSH 3.7 or SunSSH 1.0
2008-01-02- I fixed two cases of missing return code checks when handling chunkedDaniel Stenberg
decoding where a write error (or abort return from a callback) didn't stop libcurl's processing.
2008-01-02I removed the socklen_t use from the public curl/curl.h header and insteadDaniel Stenberg
made it an unsigned int. The type was only used in the curl_sockaddr struct definition (only used by the curl_opensocket_callback). On all platforms I could find information about, socklen_t is 32 unsigned bits large so I don't think this will break the API or ABI. The main reason for this change is of course for all the platforms that don't have a socklen_t definition in their headers to build fine again. Providing our own configure magic and custom definition of socklen_t on those systems proved to work but was a lot of cruft, code and extra magic needed - when this very small change of type seems harmless and still solves the missing socklen_t problem.
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-26Dmitry Kurochkin mentioned a flawDaniel Stenberg
(http://curl.haxx.se/mail/lib-2007-12/0252.html) in detect_proxy() which failed to set the bits.proxy variable properly when an environment variable told libcurl to use a http proxy.
2007-12-26In an attempt to repeat the problem in bug report #1850730Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1850730) I wrote up test case 552. The test is doing a 70K POST with a read callback and an ioctl callback over a proxy requiring Digest auth. The test case code is more or less identical to the test recipe code provided by Spacen Jasset (who submitted the bug report).
2007-12-24Gary Maxwell filed bug report #1856628Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1856628) and provided a fix for the (small) memory leak in the SSL session ID caching code. It happened when a previous entry in the cache was re-used.
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-18pollfd struct and WSA_poll fixes for Windows Vista already present in CVSYang Tse
2007-12-17Mateusz Loskot pointed out that VC++ 9.0 (2008) has the pollfd struct andDaniel Stenberg
defines in the SDK somehow differently so we have to add a define to the config-win32.h file to make select.h compile nicely.
2007-12-13David Wright filed bug report #1849764Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1849764) with an included fix. He identified a problem for re-used connections that previously had sent Expect: 100-continue and in some situations the subsequent POST (that didn't use Expect:) still had the internal flag set for its use. David's fix (that makes the setting of the flag in every single request unconditionally) is fine and is now used!
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-09Andrew Moise filed bug report #1847501Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1847501) and pointed out a memcpy() that should be memmove() in the convert_lineends() function.
2007-12-08Travelling some 500km by train back and forth on the same day gives you timeDaniel Stenberg
to do things you don't otherwise do, but here's the summary of today's work...
2007-12-05Spacen Jasset reported a problem with doing POST (with data read with aDaniel Stenberg
callback) over a proxy when NTLM is used as auth with the proxy. The bug also concerned Digest and was limited to using callback only. Spacen worked with us to provide a useful patch. I added the test case 547 and 548 to verify two variations of POST over proxy with NTLM.
2007-12-03Ray Pekowski filed bug report #1842029Daniel Stenberg
2007-12-03Bug report #1842029 (http://curl.haxx.se/bug/view.cgi?id=1842029) identifiedDaniel Stenberg
a problem with SSL session caching that prevent it from working, and the associated fix!
2007-12-03Now libcurl (built with OpenSSL) doesn't return error anymore if the remoteDaniel Stenberg
SSL-based server doesn't present a certificate when the request is told to ignore certificate verification anyway.
2007-12-02Michal Marek introduced CURLOPT_PROXY_TRANSFER_MODE which is used to controlDaniel Stenberg
the appending of the "type=" thing on FTP URLs when they are passed to a HTTP proxy. Some proxies just don't like that appending (which is done unconditionally in 7.17.1), and some proxies treat binary/ascii transfers better with the appending done!
2007-11-29uh, corrected pretty major write error!Daniel Stenberg
2007-11-29ftp resumed upload and long Digest noncesDaniel Stenberg
2007-11-26Added recent changes and spellcheckedDaniel Stenberg
2007-11-22Provide a socklen_t definition in curl.h for Win32 API build targetsYang Tse
which don't have one.
2007-11-22Alessandro Vesely helped me improve the --data-urlencode's syntax, parserDaniel Stenberg
and documentation.
2007-11-20While inspecting the Negotiate code, I noticed how the proxy auth was usingDaniel Stenberg
the same state struct as the host auth, so both could never be used at the same time! I fixed it (without being able to check) to use two separate structs to allow authentication using Negotiate on host and proxy simultanouesly.
2007-11-20Introuced --data-urlencode to the curl tool for easier url encoding of theDaniel Stenberg
data sent in a post.
2007-11-18Rob Crittenden fixed SSL connections with NSS done with the multi-interfaceDaniel Stenberg
2007-11-17Andres Garcia made the examples build fine on Windows (mingw + msys) whenDaniel Stenberg
the lib was built staticly.
2007-11-16Michal Marek made the test suite remember what test servers that fail toDaniel Stenberg
start so that subsequent tries are simply skipped.
2007-11-15Ates Goral identified a problem in http.c:add_buffer_send() when a debugDaniel Stenberg
callback was used, as it could wrongly pass on a bad size for the outgoing HTTP header. The bad size would be a very large value as it was a wrapped size_t content. This happened when the whole HTTP request failed to get sent in one single send. http://curl.haxx.se/mail/lib-2007-11/0165.html
2007-11-15Michal Marek fixed the test suite to better deal with the case when the HTTPDaniel Stenberg
ipv6 server can't run.
2007-11-14Fix a variable potential wrapping in add_buffer() when using absolutelyYang Tse
huge send buffer sizes
2007-11-12Fixed a remaining problem with doing SFTP directory listings on a re-usedDaniel Stenberg
persistent connection. Mentioned by Immanuel Gregoire on the mailing list.
2007-11-12Bug report #1830637 (http://curl.haxx.se/bug/view.cgi?id=1830637), which wasDaniel Stenberg
forwarded from the Gentoo bug tracker by Daniel Black and was originally submitted by Robin Johnson, pointed out that libcurl would do bad memory references when it failed and bailed out before the handler thing was setup. My fix is not done like the provided patch does it, but instead I make sure that there's never any chance for a NULL pointer in that struct member.
2007-11-08Bug report #1823487 (http://curl.haxx.se/bug/view.cgi?id=1823487) pointedDaniel Stenberg
out that SFTP requests didn't use persistent connections. Neither did SCP ones. I gave the SSH code a good beating and now both SCP and SFTP should use persistent connections fine. I also did a bunch for indent changes as well as a bug fix for the "keyboard interactive" auth.
2007-11-07Improved telnet support by drastically reducing the number of writeDan Fandrich
callbacks needed to pass a buffer to the user. Instead one per byte it is now as little as one per segment.