- Oct 23, 2007
-
-
http://curl.haxx.se/bug/view.cgi?id=1812190Daniel Stenberg authored
that libcurl tried to re-use connections a bit too much when using non-SSL protocols tunneled over a HTTP proxy.
-
- Oct 22, 2007
-
-
Daniel Stenberg authored
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to FTP that caused memory havoc. His work together with my efforts created two fixes: #1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with at connection cleanup, at which time the struct HandleData could be used by another connection. Also, the unused char *urlpath member is removed from struct FTP. #2 - provide a Curl_reset_reqproto() function that frees data->reqdata.proto.* on connection setup if needed (that is if the SessionHandle was used by a different connection).
-
Daniel Stenberg authored
-
http://curl.haxx.se/bug/view.cgi?id=1815530Daniel Stenberg authored
that specifying a proxy with a trailing slash didn't work (unless it also contained a port number).
-
- Oct 05, 2007
-
-
Daniel Stenberg authored
string: "FLUSH". Using that will cause libcurl to flush its cookies to the CURLOPT_COOKIEJAR file.
-
- Oct 04, 2007
-
-
Daniel Stenberg authored
This happened because the tftp code always uncondionally did a bind() without caring if one already had been done and then it failed. I wrote a test case (1009) to verify this, but it is a bit error-prone since it will have to pick a fixed local port number and since the tests are run on so many different hosts in different situations I add it in disabled state.
-
- Oct 03, 2007
-
-
Yang Tse authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
CURLOPT_OPENSOCKETDATA to set a callback that allows an application to replace the socket() call used by libcurl. It basically allows the app to change address, protocol or whatever of the socket. (I also did some whitespace indent/cleanups in lib/url.c which kind of hides some of these changes, sorry for mixing those in.)
-
Daniel Stenberg authored
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.
-
- Oct 02, 2007
-
-
Daniel Stenberg authored
Added test case 1008 to verify. Note that #47 is still there.
-
- Sep 30, 2007
-
-
Daniel Stenberg authored
function do wrong on all input bytes that are >= 0x80 (decimal 128) due to a signed / unsigned mistake in the code. I fixed it and added test case 543 to verify.
-
- Sep 29, 2007
-
-
Daniel Stenberg authored
previous proto struct was kept.
-
- Sep 28, 2007
-
-
Daniel Stenberg authored
notifier callback(s).
-
- Sep 26, 2007
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
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.
-
Daniel Stenberg authored
CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE before it does SIZE which makes it less useful. I walked over the code and made it do this properly, and added test case 542 to verify it.
-
- Sep 24, 2007
-
-
Daniel Stenberg authored
URLs ending with a slash properly (it should list the contents of that directory). Test case 351 brought back and also test 1010 was added.
-
- Sep 21, 2007
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
the --proxy-negotiate command line option to allow a user to explicitly select it.
-
- Sep 20, 2007
-
-
Daniel Stenberg authored
-
- Sep 18, 2007
-
-
Daniel Stenberg authored
o It looks for the NSS database first in the environment variable SSL_DIR, then in /etc/pki/nssdb, then it initializes with no database if neither of those exist. o If the NSS PKCS#11 libnspsem.so driver is available then PEM files may be loaded, including the ca-bundle. If it is not available then only certificates already in the NSS database are used. o Tries to detect whether a file or nickname is being passed in so the right thing is done o Added a bit of code to make the output more like the OpenSSL module, including displaying the certificate information when connecting in verbose mode o Improved handling of certificate errors (expired, untrusted, etc) The libnsspem.so PKCS#11 module is currently only available in Fedora 8/rawhide. Work will be done soon to upstream it. The NSS module will work with or without it, all that changes is the source of the certificates and keys.
-
Daniel Stenberg authored
key was specified and there was no HOME environment variable, and then it didn't continue to try the other auth methods. Now it will instead try to get the files id_dsa.pub and id_dsa from the current directory if none of the two conditions were met.
-
- Sep 17, 2007
-
-
Daniel Stenberg authored
-
- Sep 15, 2007
-
-
Daniel Stenberg authored
proxies for FTP urls.
-
- Sep 14, 2007
-
-
Dan Fandrich authored
fixed some AC_SUBST configure entries.
-
- Sep 13, 2007
-
-
Daniel Stenberg authored
-
- Sep 12, 2007
-
-
Dan Fandrich authored
-
- Sep 11, 2007
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
- Bug report #1792649 (http://curl.haxx.se/bug/view.cgi?id=1792649) pointed out a problem with doing an empty upload over FTP on a re-used connection. I added test case 541 to reproduce it and to verify the fix. - I noticed while writing test 541 that the FTP code wrongly did a CWD on the second transfer as it didn't store and remember the "" path from the previous transfer so it would instead CWD to the entry path as stored. This worked, but did a superfluous command. Thus, test case 541 now also verifies this fix.
-
- Sep 09, 2007
-
-
Daniel Stenberg authored
-
- Sep 06, 2007
-
-
http://curl.cheap.co.ilDaniel Stenberg authored
-
- Sep 03, 2007
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Aug 30, 2007
-
-
Dan Fandrich authored
case 615 to test an SFTP upload failure.
-
Dan Fandrich authored
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)
-
- Aug 24, 2007
-
-
http://curl.haxx.se/bug/view.cgi?id=1779054Daniel Stenberg authored
out that libcurl didn't deal with large responses from server commands, when the single response was consisting of multiple lines but of a total size of 16KB or more. Dan Fandrich improved the ftp test script and provided test case 1006 to repeat the problem, and I fixed the code to make sure this new test case runs fine.
-
- Aug 23, 2007
-
-
Daniel Stenberg authored
-
- Aug 22, 2007
-
-
http://curl.haxx.se/bug/view.cgi?id=1779751Daniel Stenberg authored
out that doing first a file:// upload and then an FTP upload crashed libcurl or at best caused furious valgrind complaints. Fixed now by making sure we free and clear the file-specific struct properly when done with it.
-