- Nov 08, 2007
-
-
http://curl.haxx.se/bug/view.cgi?id=1823487Daniel Stenberg authored
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.
-
- Nov 05, 2007
-
-
Daniel Stenberg authored
connectdata struct. This will in theory enable us to do persistent connections with SCP+SFTP, but currently the state machine always (and wrongly) cleanup everything in the 'done' action instead of in 'disconnect'. Also did a bunch of indent fixes, if () => if() and a few other source cleanups like added comments etc.
-
- Oct 24, 2007
-
-
Daniel Stenberg authored
-
- 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).
-
- Oct 15, 2007
-
-
Patrick Monnerat authored
CURLOPT_COPYPOSTFIELDS option added for dynamic. Fix some OS400 features.
-
- Oct 12, 2007
-
-
Patrick Monnerat authored
in the connectdata structure by a single handler table ptr.
-
- 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
-
-
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 26, 2007
-
-
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 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.
-
- Aug 31, 2007
-
-
Dan Fandrich authored
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility.
-
- Aug 26, 2007
-
-
Dan Fandrich authored
-
- Aug 15, 2007
-
-
Guenter Knauf authored
-
- Aug 01, 2007
-
-
Daniel Stenberg authored
passed to it with curl_easy_setopt()! Previously it has always just refered to the data, forcing the user to keep the data around until libcurl is done with it. That is now history and libcurl will instead clone the given strings and keep private copies.
-
- Jul 29, 2007
-
-
http://curl.haxx.se/bug/view.cgi?id=1759542Daniel Stenberg authored
of a socket after it has been closed, when the FTP-SSL data connection is taken down.
-
- Jul 27, 2007
-
-
Daniel Stenberg authored
-
- Jul 23, 2007
-
-
Dan Fandrich authored
some few internal identifiers to avoid conflicts, which could be useful on other platforms.
-
- Jul 10, 2007
-
-
James Housley authored
* Move scp:// into a state machine so it won't block in multi mode * When available use the full directory entry from the sftp:// server
-
- Jul 01, 2007
-
-
Daniel Stenberg authored
libcurl. This also makes the options change name to --krb (from --krb4) and CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
-
- Jun 27, 2007
-
-
James Housley authored
and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files and directories created on the remote server. CURLOPT_NEW_FILE_PERMS defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755
-
- Jun 19, 2007
-
-
James Housley authored
allocated when needed
-
- Jun 12, 2007
-
-
James Housley authored
libssh2_sftp_shutdown() and libssh2_session_free() can now return LIBSSH2_ERROR_EAGAIN. * Fix the _send() and _recv() return values so non-blocking works
-
James Housley authored
LIBSSH2_APINO >= 200706012030. More to come...
-
- Apr 24, 2007
-
-
Daniel Stenberg authored
can/will be used as it then makes the common cases save 16KB of data for each easy handle that isn't used for pipelining.
-
- Apr 16, 2007
-
-
Daniel Stenberg authored
function that deprecates the curl_multi_socket() function. Using the new function the application tell libcurl what action that was found in the socket that it passes in. This gives a significant performance boost as it allows libcurl to avoid a call to poll()/select() for every call to curl_multi_socket*().
-
- Apr 10, 2007
-
-
Daniel Stenberg authored
-
- Apr 01, 2007
-
-
Daniel Stenberg authored
easy handles are added to a multi handle, by avoiding the looping over all the handles to find which one to remove.
-
- Feb 25, 2007
-
-
Daniel Stenberg authored
the multi interface. Note that it still does a part of the connection in a blocking manner.
-
- Feb 22, 2007
-
-
Yang Tse authored
"case label value exceeds maximum value for type" and "comparison is always false due to limited range of data type" Both triggered when using a bool variable as the switch variable in a switch statement and using enums for the case targets.
-
- Feb 20, 2007
-
-
Linus Nielsen authored
New FTP CCC functionality - adds passive and active mode to accomodate for different server behaviour
-
- Feb 18, 2007
-
-
Yang Tse authored
-
- Feb 16, 2007
-
-
Daniel Stenberg authored
-
- Feb 13, 2007
-
-
Daniel Stenberg authored
the left side of @ to make it short(er).
-
- Feb 12, 2007
-
-
Daniel Stenberg authored
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
-
Daniel Stenberg authored
to the debug callback. - Shmulik Regev added CURLOPT_HTTP_CONTENT_DECODING and CURLOPT_HTTP_TRANSFER_DECODING that if set to zero will disable libcurl's internal decoding of content or transfer encoded content. This may be preferable in cases where you use libcurl for proxy purposes or similar. The command line tool got a --raw option to disable both at once.
-
- Feb 05, 2007
-
-
Daniel Stenberg authored
and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the timeouts with millisecond resolution instead. The only restriction to that is the alarm() (sometimes) used to abort name resolves as that uses full seconds. I fixed the FTP response timeout part of the patch. Internally we now count and keep the timeouts in milliseconds but it also means we multiply set timeouts with 1000. The effect of this is that no timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which equals 24.86 days. We probably couldn't before either since the code did *1000 on the timeout values on several places already.
-
- Feb 03, 2007
-
-
Daniel Stenberg authored
the problem. The code now tries harder to use httproxy and proxy where apppropriate, as not all proxies are HTTP...
-