aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-01-30if the DO operation returns failure, bail out and close down nicely toDaniel Stenberg
prevent memory leakage
2005-01-30Use calloc() to save us the memset() call and terminate conn->host.nameDaniel Stenberg
properly, to avoid reading uninited variables when using file:// (valgrind)
2005-01-29include "url.h" for the Curl_safefree() protoDaniel Stenberg
2005-01-29Using the multi interface, and doing a requsted a re-used connection thatDaniel Stenberg
gets closed just after the request has been sent failed and did not re-issue a request on a fresh reconnect like the easy interface did. Now it does! (define CURL_MULTIEASY, run test case 160)
2005-01-29Define CURL_MULTIEASY when building this, to use my new curl_easy_perform()Daniel Stenberg
that uses the multi interface to run the request. It is a great testbed for the multi interface and I believe we shall do it this way for real in the future when we have a successor to curl_multi_fdset().
2005-01-29conn->ip_addr MUST NOT be used on re-used connectionsDaniel Stenberg
2005-01-29multi interface: when a request is denied due to "Maximum redirects followed"Daniel Stenberg
libcurl leaked the last Location: URL.
2005-01-28Connect failures with the multi interface was often returned as "connect()Daniel Stenberg
timed out" even though the reason was different. Fixed this problem by not setting this timeout to zero when using multi.
2005-01-28KNOWN_BUGS #17 fixed. A DNS cache entry may not remain locked between twoDaniel Stenberg
curl_easy_perform() invokes. It was previously unlocked at disconnect, which could mean that it remained locked between multiple transfers. The DNS cache may not live as long as the connection cache does, as they are separate. To deal with the lack of DNS (host address) data availability in re-used connections, libcurl now keeps a copy of the IP adress as a string, to be able to show it even on subsequent requests on the same connection.
2005-01-28Stephen More pointed out that CURLOPT_FTPPORT and the -P option didn't workDaniel Stenberg
when built ipv6-enabled. I've now made a fix for it. Writing test cases for custom port strings turned too tricky so unfortunately there's none.
2005-01-25Ian Ford asked about support for the FTP command ACCT, and I discovered it isDaniel Stenberg
present in RFC959... so now (lib)curl supports it as well. --ftp-account and CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account string after PASS have been sent away. The client responds with "ACCT [account string]".) Added test case 228 and 229 to verify the functionality. Updated the test FTP server to support ACCT somewhat.
2005-01-25Use plain structs and not typedef'ed ones in the hash and linked-list code.Daniel Stenberg
2005-01-21FTP third transfer support overhaul. See CHANGES for details.Daniel Stenberg
2005-01-19Stephan Bergmann made libcurl return CURLE_URL_MALFORMAT if an FTP URLDaniel Stenberg
contains %0a or %0d in the user, password or CWD parts. (A future fix would include doing it for %00 as well - see KNOWN_BUGS for details.) Test case 225 and 226 were added to verify this
2005-01-19Don't copy 'stderr' for Win-CE in IPv6 code. Don't callGisle Vanem
GetCurrentProcess() twice; use a local variable.
2005-01-19Stephan Bergmann pointed out two flaws in libcurl built with HTTP disabled:Daniel Stenberg
1) the proxy environment variables are still read and used to set HTTP proxy 2) you couldn't disable http proxy with CURLOPT_PROXY (since the option was disabled)
2005-01-18Cody Jones' enhanced version of Samuel Díaz García's MSVC makefile patch.Daniel Stenberg
2005-01-16Alex aka WindEagle pointed out that when doing "curl -v dictionary.com", curlDaniel Stenberg
assumed this used the DICT protocol. While guessing protocols will remain fuzzy, I've now made sure that the host names must start with "[protocol]." for them to be a valid guessable name. I also removed "https" as a prefix that indicates HTTPS, since we hardly ever see any host names using that.
2005-01-15errrno can by freak accident become EINTR on DOS orGisle Vanem
Windows (unrelated to select). select() can never set errno to EINTR on Windows.
2005-01-14Added README.hostipDaniel Stenberg
2005-01-13Inspired by Martijn Koster's patch and example source atDaniel Stenberg
http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c, I now made the select() and poll() calls properly loop if they return -1 and errno is EINTR. glibc docs for this is found here: http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html This last link says BSD doesn't have this "effect". Will there be a problem if we do this unconditionally? S: ----------------------------------------------------------------------
2005-01-12Added '-bd' option; target is a DLL.Gisle Vanem
Added dependencies.
2005-01-11Dan Torop cleaned up a few no longer used variables from David Phillips'Daniel Stenberg
select() overhaul fix.
2005-01-11Renamed easy.h and multi.h to easyif.h and multiif.h to make sure they don'tDaniel Stenberg
shadow our public headers with the former names.
2005-01-11".\lib\easy.h" shadows for <curl/easy.h> in Watcom.Gisle Vanem
Force including ../include/curl/easy.h.
2005-01-11".\lib\multi.h" shadows for <curl/multi.h> in Watcom.Gisle Vanem
Force including ../include/curl/multi.h.
2005-01-11Cyrill Osterwalder posted a detailed analysis about a bug that occurs whenDaniel Stenberg
using a custom Host: header and curl fails to send a request on a re-used persistent connection and thus creates a new connection and resends it. It then sent two Host: headers. Cyrill's analysis was posted here: http://curl.haxx.se/mail/archive-2005-01/0022.html
2005-01-10Bruce Mitchener identified (bug report #1099640) the never-ending SOCKS5Daniel Stenberg
problem with the version byte and the check for bad versions. Bruce has lots of clues on this, and based on his suggestion I've now removed the check of that byte since it seems to be able to contain 1 or 5.
2005-01-10Use Curl_easy_addmulti() to clear associations from easy handles to multiDaniel Stenberg
handles. Include multi.h to get proto.
2005-01-10Pavel Orehov reported memory problems with the multi interface in bug reportDaniel Stenberg
#1098843. In short, a shared DNS cache was setup for a multi handle and when the shared cache was deleted before the individual easy handles, the latter cleanups caused read/writes to already freed memory.
2005-01-10Hzhijun reported a memory leak in the SSL certificate code, that leaked theDaniel Stenberg
remote certificate name when it didn't match the used host name.
2005-01-08New file.Gisle Vanem
2005-01-08Added Makefile.Watcom to EXTRA_DIST.Gisle Vanem
2005-01-04Removed _WIN32_WINNT to support IPv6 under Win-2K.Gisle Vanem
2005-01-02reverted the bad naming of the implib namesDaniel Stenberg
2005-01-02Alex Neblett's minor updateDaniel Stenberg
2004-12-22Rune Kleveland fixed a minor memory leak for received cookies with the (rare)Daniel Stenberg
version attribute set.
2004-12-22Marcin Konicki provided two configure fixes and a source fix to make curlDaniel Stenberg
build out-of-the-box on BeOS.
2004-12-22C ensures that static variables are initialized to 0Dan Fandrich
2004-12-21oops, variables first then codeDaniel Stenberg
2004-12-21Prevent failf() from using the va_list variable more than once.Daniel Stenberg
See bug report #1088962 and Single Unix Specification: http://www.opengroup.org/onlinepubs/007908799/xsh/vfprintf.html
2004-12-21include sys/types.h before sys/select.hDaniel Stenberg
2004-12-20Make some more arrays of pointers const.Dan Fandrich
2004-12-19OpenSSL updates; get CA_BUNDLE from env. Assume noGisle Vanem
Kerberos, have <pkcs12.h>, <engine.h> and built-in engines.
2004-12-19Remove 'data' initialiser.Gisle Vanem
2004-12-19if the pkcs12.h header exists, include it already in urldata.h to work aroundDaniel Stenberg
a precedence problem with the zlib header. See CHANGES for details.
2004-12-18Samuel Listopad added support for PKCS12 formatted certificates.Daniel Stenberg
2004-12-17Renamed a variable to avoid conflict with a C++ reserved word.Dan Fandrich
2004-12-17Watcom has strtoll().Gisle Vanem
2004-12-17Watcom uses 'i64' suffix.Gisle Vanem