platform/upstream/curl.git
17 years agoGiancarlo Formicuccia reported and fixed a problem with a closed connection
Daniel Stenberg [Tue, 10 Jul 2007 22:31:13 +0000 (22:31 +0000)]
Giancarlo Formicuccia reported and fixed a problem with a closed connection
to a proxy during CONNECT auth negotiation.

17 years agoForce the time zone to GMT in the cookie tests in case the user is
Dan Fandrich [Tue, 10 Jul 2007 22:27:16 +0000 (22:27 +0000)]
Force the time zone to GMT in the cookie tests in case the user is
using one of the so-called 'right' time zones that take into account
leap seconds, which causes the tests to fail (as reported by
Daniel Black in bug report #1745964).

17 years agoThe previous commits changed the error code
James Housley [Tue, 10 Jul 2007 22:26:59 +0000 (22:26 +0000)]
The previous commits changed the error code

17 years ago* Finish moving sftp:// into a state machine so it won't block in multi mode
James Housley [Tue, 10 Jul 2007 22:26:32 +0000 (22:26 +0000)]
* Finish moving sftp:// into a state machine so it won't block in multi mode
* 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

17 years agoFixed a curl memory leak reported by Song Ma with a modified version
Dan Fandrich [Tue, 10 Jul 2007 22:23:16 +0000 (22:23 +0000)]
Fixed a curl memory leak reported by Song Ma with a modified version
of the patch he suggested.  Added his test case as test289 to verify.

17 years agostart working on 7.16.5...
Daniel Stenberg [Tue, 10 Jul 2007 22:07:33 +0000 (22:07 +0000)]
start working on 7.16.5...

17 years ago7.16.4 preps
Daniel Stenberg [Tue, 10 Jul 2007 21:36:30 +0000 (21:36 +0000)]
7.16.4 preps

17 years agoadded better CodeWarrior detection (forgot to add with previos version).
Gunter Knauf [Mon, 9 Jul 2007 02:00:39 +0000 (02:00 +0000)]
added better CodeWarrior detection (forgot to add with previos version).

17 years agoadded better CodeWarrior detection;
Gunter Knauf [Sun, 8 Jul 2007 23:19:24 +0000 (23:19 +0000)]
added better CodeWarrior detection;
added defines for setlocale().

17 years agoadded better CodeWarrior detection;
Gunter Knauf [Sun, 8 Jul 2007 23:18:47 +0000 (23:18 +0000)]
added better CodeWarrior detection;
moved autounload flag so that its used for both lib architectures.

17 years agoadded better CodeWarrior detection.
Gunter Knauf [Sun, 8 Jul 2007 23:17:56 +0000 (23:17 +0000)]
added better CodeWarrior detection.

17 years agoremoved some obsolete include paths and defines.
Gunter Knauf [Sat, 7 Jul 2007 16:26:02 +0000 (16:26 +0000)]
removed some obsolete include paths and defines.

17 years agoThomas J. Moore made it build with less warnings
Daniel Stenberg [Fri, 6 Jul 2007 22:14:29 +0000 (22:14 +0000)]
Thomas J. Moore made it build with less warnings

17 years agoGavrie Philipson's change, updated numbers
Daniel Stenberg [Fri, 6 Jul 2007 21:56:42 +0000 (21:56 +0000)]
Gavrie Philipson's change, updated numbers

17 years agoadd note about windows and dlls with CURLOPT_WRITEDATA
Daniel Stenberg [Fri, 6 Jul 2007 20:14:03 +0000 (20:14 +0000)]
add note about windows and dlls with CURLOPT_WRITEDATA

17 years agofixed NetWare CLIB implementation of getpass_r()
Gunter Knauf [Fri, 6 Jul 2007 14:58:59 +0000 (14:58 +0000)]
fixed NetWare CLIB implementation of getpass_r()

17 years agoGavrie Philipson provided a patch that will use a more specific error
James Housley [Thu, 5 Jul 2007 12:48:34 +0000 (12:48 +0000)]
Gavrie Philipson provided a patch that will use a more specific error
message for an scp:// upload failure.  If libssh2 has his matching
patch, then the error message return by the server will be used instead
of a more generic error.

17 years agoAdd -a when running torture tests now that it's supported.
Dan Fandrich [Thu, 5 Jul 2007 01:38:00 +0000 (01:38 +0000)]
Add -a when running torture tests now that it's supported.

17 years agoFix spelling error in error message
James Housley [Wed, 4 Jul 2007 22:54:29 +0000 (22:54 +0000)]
Fix spelling error in error message

17 years agoadd test for gettimeofday() so that HAVE_GETTIMEOFDAY gets defined.
Gunter Knauf [Wed, 4 Jul 2007 17:20:19 +0000 (17:20 +0000)]
add test for gettimeofday() so that HAVE_GETTIMEOFDAY gets defined.

17 years agoenabled ares build.
Gunter Knauf [Wed, 4 Jul 2007 13:45:46 +0000 (13:45 +0000)]
enabled ares build.

17 years agoalthough the check for HAVE_STRUCT_TIMEVAL solved the redefine it is incorrect; lets...
Gunter Knauf [Wed, 4 Jul 2007 10:54:15 +0000 (10:54 +0000)]
although the check for HAVE_STRUCT_TIMEVAL solved the redefine it is incorrect; lets see if a check for HAVE_GETTIMEOFDAY also works; if gettimeofday() is present then we can assume we have the timezone struct too.

17 years agoadded check for sys/param.h.
Gunter Knauf [Wed, 4 Jul 2007 09:01:40 +0000 (09:01 +0000)]
added check for sys/param.h.

17 years agotrial to catch problem with Daniels cross-mingw ares builds.
Gunter Knauf [Tue, 3 Jul 2007 18:18:40 +0000 (18:18 +0000)]
trial to catch problem with Daniels cross-mingw ares builds.

17 years agoadded NetWare CLIB-own header to solve gcc warnings.
Gunter Knauf [Tue, 3 Jul 2007 16:21:57 +0000 (16:21 +0000)]
added NetWare CLIB-own header to solve gcc warnings.

17 years agofew minor changes to make ares compile for NetWare CLIB architecture.
Gunter Knauf [Tue, 3 Jul 2007 16:00:36 +0000 (16:00 +0000)]
few minor changes to make ares compile for NetWare CLIB architecture.

17 years agofixed rule to build libcares when needed.
Gunter Knauf [Tue, 3 Jul 2007 00:50:40 +0000 (00:50 +0000)]
fixed rule to build libcares when needed.

17 years agochanged to build for CLIB / LIBC.
Gunter Knauf [Tue, 3 Jul 2007 00:42:11 +0000 (00:42 +0000)]
changed to build for CLIB / LIBC.

17 years agoadded libcares to static build if ares enabled.
Gunter Knauf [Tue, 3 Jul 2007 00:12:03 +0000 (00:12 +0000)]
added libcares to static build if ares enabled.

17 years agocontributors from the 7.16.3 release notes
Daniel Stenberg [Mon, 2 Jul 2007 22:04:36 +0000 (22:04 +0000)]
contributors from the 7.16.3 release notes

17 years agosync'd with lib makefile changes: use var for awk; fixed RECV* / SEND* defines; debug...
Gunter Knauf [Mon, 2 Jul 2007 18:50:18 +0000 (18:50 +0000)]
sync'd with lib makefile changes: use var for awk; fixed RECV* / SEND* defines; debug var can be overwritten; added better compiler path handling.

17 years agosome more makefile tweaks and hacks to deal with both lib architectures.
Gunter Knauf [Mon, 2 Jul 2007 18:42:14 +0000 (18:42 +0000)]
some more makefile tweaks and hacks to deal with both lib architectures.

17 years agoFix problem with the indenting noticed by Pavel
James Housley [Mon, 2 Jul 2007 17:22:51 +0000 (17:22 +0000)]
Fix problem with the indenting noticed by Pavel

17 years agoignore make error when trying to copy curl.pdf which isnt in CVS.
Gunter Knauf [Sun, 1 Jul 2007 22:17:07 +0000 (22:17 +0000)]
ignore make error when trying to copy curl.pdf which isnt in CVS.

17 years agomention the old name
Daniel Stenberg [Sun, 1 Jul 2007 22:03:47 +0000 (22:03 +0000)]
mention the old name

17 years agoThomas J. Moore provided a patch that introduces Kerberos5 support in
Daniel Stenberg [Sun, 1 Jul 2007 22:01:18 +0000 (22:01 +0000)]
Thomas J. Moore provided a patch that introduces Kerberos5 support in
libcurl. This also makes the options change name to --krb (from --krb4) and
CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still

17 years agoSong Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5 proxy
Daniel Stenberg [Sun, 1 Jul 2007 21:28:14 +0000 (21:28 +0000)]
Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5 proxy

17 years agochanged RECV_* / SEND_* defines to correctly reflect NetWare APIs;
Gunter Knauf [Sun, 1 Jul 2007 21:06:41 +0000 (21:06 +0000)]
changed RECV_* / SEND_* defines to correctly reflect NetWare APIs;
some more minor Makefile tidyups.

17 years agodisabled 64bit type for CLIB build which removes compiler runtime dependency.
Gunter Knauf [Sun, 1 Jul 2007 16:55:37 +0000 (16:55 +0000)]
disabled 64bit type for CLIB build which removes compiler runtime dependency.

17 years agoupdated NetWare docu.
Gunter Knauf [Sun, 1 Jul 2007 12:09:25 +0000 (12:09 +0000)]
updated NetWare docu.

17 years agoadded lib architecture to NLM description.
Gunter Knauf [Sun, 1 Jul 2007 01:33:51 +0000 (01:33 +0000)]
added lib architecture to NLM description.

17 years agoadded HAVE_SYS_IOCTL_H define; added gcc runtime.
Gunter Knauf [Sat, 30 Jun 2007 23:53:54 +0000 (23:53 +0000)]
added HAVE_SYS_IOCTL_H define; added gcc runtime.

17 years agomoved includes to setup.h so that the project headers also pick them up (eleminate...
Gunter Knauf [Sat, 30 Jun 2007 23:45:57 +0000 (23:45 +0000)]
moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning).

17 years agofixed path to Metrowerks tools and runtime since they changed between compiler versions.
Gunter Knauf [Sat, 30 Jun 2007 21:20:24 +0000 (21:20 +0000)]
fixed path to Metrowerks tools and runtime since they changed between compiler versions.

17 years agominor patches to enable building for NetWare CLIB.
Gunter Knauf [Sat, 30 Jun 2007 20:16:03 +0000 (20:16 +0000)]
minor patches to enable building for NetWare CLIB.
sent by Dmitry Mityugov.

17 years agominor patches to enable building for NetWare CLIB.
Gunter Knauf [Sat, 30 Jun 2007 20:08:13 +0000 (20:08 +0000)]
minor patches to enable building for NetWare CLIB.
sent by Dmitry Mityugov.

17 years agoenabled building for NetWare CLIB architecture.
Gunter Knauf [Sat, 30 Jun 2007 20:02:51 +0000 (20:02 +0000)]
enabled building for NetWare CLIB architecture.

17 years agorevert previous patch since it turned out that older cp dont know this switch, argh!
Gunter Knauf [Thu, 28 Jun 2007 22:31:18 +0000 (22:31 +0000)]
revert previous patch since it turned out that older cp dont know this switch, argh!

17 years agoUsing fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
James Housley [Thu, 28 Jun 2007 11:11:29 +0000 (11:11 +0000)]
Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
file.c, but the debug interface was missing.  This adds the routines needed
to make the memory debuging work for fdopen().

17 years agoreality sync
Daniel Stenberg [Thu, 28 Jun 2007 10:47:05 +0000 (10:47 +0000)]
reality sync

17 years agofixed nasty cp warnings about not beeing able to preserve ownership.
Gunter Knauf [Thu, 28 Jun 2007 01:20:30 +0000 (01:20 +0000)]
fixed nasty cp warnings about not beeing able to preserve ownership.

17 years agoJames Bursa's improvement
Daniel Stenberg [Wed, 27 Jun 2007 21:35:17 +0000 (21:35 +0000)]
James Bursa's improvement

17 years agofix little flaw that could make the transfer loop end prematurely
Daniel Stenberg [Wed, 27 Jun 2007 21:29:29 +0000 (21:29 +0000)]
fix little flaw that could make the transfer loop end prematurely

17 years agoAdd two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
James Housley [Wed, 27 Jun 2007 20:15:48 +0000 (20:15 +0000)]
Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
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

17 years agoremoved trailing spaces.
Gunter Knauf [Wed, 27 Jun 2007 10:14:00 +0000 (10:14 +0000)]
removed trailing spaces.

17 years agofixed wrong var name
Gunter Knauf [Wed, 27 Jun 2007 10:12:48 +0000 (10:12 +0000)]
fixed wrong var name

17 years agoadd an FTP rename example to 3.7
Daniel Stenberg [Tue, 26 Jun 2007 21:53:46 +0000 (21:53 +0000)]
add an FTP rename example to 3.7

17 years agoRobert Iakobashvili re-arranged the internal hash code to work with a custom
Daniel Stenberg [Tue, 26 Jun 2007 21:09:28 +0000 (21:09 +0000)]
Robert Iakobashvili re-arranged the internal hash code to work with a custom
hash function for different hashes, and also expanded the default size for
the socket hash table used in multi handles to greatly enhance speed when
very many connections are added and the socket API is used.

17 years agoThe results for a list only directory should be sent to the callback
James Housley [Tue, 26 Jun 2007 20:23:10 +0000 (20:23 +0000)]
The results for a list only directory should be sent to the callback

17 years agoftp_list_only mode should list all file types, not just directories.
James Housley [Tue, 26 Jun 2007 19:12:58 +0000 (19:12 +0000)]
ftp_list_only mode should list all file types, not just directories.

17 years agogah, adding missing braces, removed silly debug output, added new debug output
Daniel Stenberg [Mon, 25 Jun 2007 14:17:52 +0000 (14:17 +0000)]
gah, adding missing braces, removed silly debug output, added new debug output

17 years agoAdjusted how libcurl treats HTTP 1.1 responses without content-lenth or
Daniel Stenberg [Mon, 25 Jun 2007 13:58:14 +0000 (13:58 +0000)]
Adjusted how libcurl treats HTTP 1.1 responses without content-lenth or
chunked encoding (that also lacks "Connection: close"). It now simply
assumes that the connection WILL be closed to signal the end, as that is how
RFC2616 section 4.4 point #5 says we should behave.

17 years agofix the version string as well
Daniel Stenberg [Mon, 25 Jun 2007 13:52:16 +0000 (13:52 +0000)]
fix the version string as well

17 years agostart working towards 7.16.4
Daniel Stenberg [Mon, 25 Jun 2007 09:34:44 +0000 (09:34 +0000)]
start working towards 7.16.4

17 years ago7.16.3
Daniel Stenberg [Mon, 25 Jun 2007 09:18:16 +0000 (09:18 +0000)]
7.16.3

17 years agoAs reported by "Tro" in http://curl.haxx.se/mail/lib-2007-06/0161.html and
Daniel Stenberg [Sun, 24 Jun 2007 19:32:33 +0000 (19:32 +0000)]
As reported by "Tro" in curl.haxx.se/mail/lib-2007-06/0161.html and
http://curl.haxx.se/mail/lib-2007-06/0238.html, libcurl didn't properly do
no-body requests on FTP files on re-used connections properly, or at least
it didn't provide the info back in the header callback properly in the
subsequent requests.

17 years agoadded netware install target
Gunter Knauf [Fri, 22 Jun 2007 21:10:41 +0000 (21:10 +0000)]
added netware install target

17 years agomade debug flag settable from outside; add allways debug stuff when DB != NDEBUG
Gunter Knauf [Fri, 22 Jun 2007 21:10:17 +0000 (21:10 +0000)]
made debug flag settable from outside; add allways debug stuff when DB != NDEBUG

17 years agoremove annoying debug output
Daniel Stenberg [Fri, 22 Jun 2007 20:24:11 +0000 (20:24 +0000)]
remove annoying debug output

17 years agoGerrit Bruchhäuser pointed out a warning that the Intel(R) Thread Checker
Daniel Stenberg [Thu, 21 Jun 2007 14:23:38 +0000 (14:23 +0000)]
Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread Checker
tool reports and it was indeed a legitimate one and it is one fixed. It was
a use of a share without doing the proper locking first.

17 years agoAdam Piggott filed bug report #1740263
Daniel Stenberg [Wed, 20 Jun 2007 21:57:28 +0000 (21:57 +0000)]
Adam Piggott filed bug report #1740263
(http://curl.haxx.se/bug/view.cgi?id=1740263). Adam discovered that when
getting a large amount of URLs with curl, they were fetched slower and
slower... which turned out to be because the --libcurl data collecting which
wrongly always was enabled, but no longer is...

17 years agoIf the creation of rsa and rsa_pub fail due to memory, don't try
James Housley [Wed, 20 Jun 2007 11:30:35 +0000 (11:30 +0000)]
If the creation of rsa and rsa_pub fail due to memory, don't try
other authentication methods.  Terminate with a memory error.

17 years agoCheck both variables, not the same one twice. Pointed out by Colin Hogben
James Housley [Tue, 19 Jun 2007 13:23:21 +0000 (13:23 +0000)]
Check both variables, not the same one twice.  Pointed out by Colin Hogben

17 years agoand fix another flaw in the singlecwd case when we get ftp://site.com/, also
Daniel Stenberg [Tue, 19 Jun 2007 12:33:28 +0000 (12:33 +0000)]
and fix another flaw in the singlecwd case when we get ftp://site.com/, also
from the #1739100 bug report

17 years agoextra precaution to make PATH_MAX always be defined
Daniel Stenberg [Tue, 19 Jun 2007 11:50:08 +0000 (11:50 +0000)]
extra precaution to make PATH_MAX always be defined

17 years agoChange rsa and rsa_pub from static arrays in ssh_conn to be dynamically
James Housley [Tue, 19 Jun 2007 11:31:33 +0000 (11:31 +0000)]
Change rsa and rsa_pub from static arrays in ssh_conn to be dynamically
allocated when needed

17 years agoIf LIBSSH2DEBUG was defined "i" was undefined
James Housley [Mon, 18 Jun 2007 22:28:40 +0000 (22:28 +0000)]
If LIBSSH2DEBUG was defined "i" was undefined

17 years agoRobson Braga Araujo filed bug report #1739100
Daniel Stenberg [Mon, 18 Jun 2007 21:09:32 +0000 (21:09 +0000)]
Robson Braga Araujo filed bug report #1739100
(http://curl.haxx.se/bug/view.cgi?id=1739100) that mentioned that libcurl
could not actually list the contents of the root directory of a given FTP
server if the login directory isn't root. I fixed the problem and added three
test cases (one is disabled for now since I identified KNOWN_BUGS #44, we
cannot use --ftp-method nocwd and list ftp directories).

17 years agomake the ftp-method multicwd case possible to LIST the root directory of a
Daniel Stenberg [Mon, 18 Jun 2007 21:04:45 +0000 (21:04 +0000)]
make the ftp-method multicwd case possible to LIST the root directory of a
server!

17 years agoTest listing of root dir with the three ftp-methods. KNOWN_BUGS #44 make me
Daniel Stenberg [Mon, 18 Jun 2007 21:04:05 +0000 (21:04 +0000)]
Test listing of root dir with the three ftp-methods. KNOWN_BUGS #44 make me
disable test 351 by default by I add the test case anyway to make it easier
to work on this problem in the future.

17 years ago44. --ftp-method nocwd does not handle URLs ending with a slash properly (it
Daniel Stenberg [Mon, 18 Jun 2007 21:03:14 +0000 (21:03 +0000)]
44. --ftp-method nocwd does not handle URLs ending with a slash properly (it
should list the contents of that directory). See test case 351.

17 years agoDaniel Johnson reported the tests now run fine on OS X!
Daniel Stenberg [Mon, 18 Jun 2007 08:57:13 +0000 (08:57 +0000)]
Daniel Johnson reported the tests now run fine on OS X!

17 years agoCurl_ssh_connect() was using an uninitialized variable in one location.
James Housley [Sat, 16 Jun 2007 16:58:02 +0000 (16:58 +0000)]
Curl_ssh_connect() was using an uninitialized variable in one location.
Caught by the auto-builds

17 years agoTom Regner added /usr/lib/misc to the path to scan for sftp to make the
Daniel Stenberg [Thu, 14 Jun 2007 21:16:08 +0000 (21:16 +0000)]
Tom Regner added /usr/lib/misc to the path to scan for sftp to make the
sftp tests run fine on gentoo

17 years agoShmulik Regev fixed a flaw in the multi interface that occurred when doing
Daniel Stenberg [Thu, 14 Jun 2007 14:42:21 +0000 (14:42 +0000)]
Shmulik Regev fixed a flaw in the multi interface that occurred when doing
HTTP CONNECT over a proxy

17 years agos/HAVE_POLL/HAVE_SYS_POLL_H
Daniel Stenberg [Thu, 14 Jun 2007 14:15:21 +0000 (14:15 +0000)]
s/HAVE_POLL/HAVE_SYS_POLL_H

17 years agoRemove duplicate code that was left in as part of 1.35. This code
James Housley [Thu, 14 Jun 2007 13:22:00 +0000 (13:22 +0000)]
Remove duplicate code that was left in as part of 1.35.  This code
only affected sftp_sendquote() for the "chgrp/chmod/chown" commands.

This also fixed failure of test 614 on a system that previously failed.

17 years agoMake our own definitions of the POLL* defiens and the pollfd struct only get
Daniel Stenberg [Thu, 14 Jun 2007 11:21:48 +0000 (11:21 +0000)]
Make our own definitions of the POLL* defiens and the pollfd struct only get
done if the sys/poll.h file is missing, as we have seen machines with poll()
present but without the header file and machines that don't get HAVE_POLL
defined but that do have the sys/poll.h header file...

17 years agoBUG FIX: When reading a directory listing that contains symlinks
James Housley [Thu, 14 Jun 2007 10:36:53 +0000 (10:36 +0000)]
BUG FIX:  When reading a directory listing that contains symlinks
with the latest libssh2, the listing would be truncated at the symlink.
Fix by looping on LIBSSH2_ERROR_EAGAIN, like the rest of the calls.

17 years agoTom Regner provided a patch and worked together with James Housley, so now
Daniel Stenberg [Wed, 13 Jun 2007 20:17:35 +0000 (20:17 +0000)]
Tom Regner provided a patch and worked together with James Housley, so now
CURLOPT_FTP_CREATE_MISSING_DIRS works for SFTP connections as well as FTP
ones.

17 years agoRich Rauenzahn filed bug report #1733119
Daniel Stenberg [Wed, 13 Jun 2007 20:08:19 +0000 (20:08 +0000)]
Rich Rauenzahn filed bug report #1733119
(http://curl.haxx.se/bug/view.cgi?id=1733119) and we collaborated on the fix.
The problem is that for 64bit HPUX builds, several socket-related functions
would still assume int (32 bit) arguments and not socklen_t (64 bit) ones.

17 years agoRestore functionality mistakenly removed in the previous commit
James Housley [Wed, 13 Jun 2007 17:13:44 +0000 (17:13 +0000)]
Restore functionality mistakenly removed in the previous commit

17 years agoUpdate documentation to reflect SFTP's ability to create directories on
James Housley [Wed, 13 Jun 2007 15:02:34 +0000 (15:02 +0000)]
Update documentation to reflect SFTP's ability to create directories on
upload.  Some text provieded by Tom Regner

17 years agolibssh2_session_free() returns void. Fix "#endif".
Gisle Vanem [Wed, 13 Jun 2007 14:01:48 +0000 (14:01 +0000)]
libssh2_session_free() returns void. Fix "#endif".

17 years agoCommit Tom Regner's code for SFTP create missing directories. This patch
James Housley [Wed, 13 Jun 2007 12:15:23 +0000 (12:15 +0000)]
Commit Tom Regner's code for SFTP create missing directories.  This patch
uses the --ftp-create-dirs flag to control if cURL will try and create
directories that are specified in an upload path, but don't exist.

17 years agoAdd a define to protect the state machine from older versions of libssh2,
James Housley [Wed, 13 Jun 2007 11:27:41 +0000 (11:27 +0000)]
Add a define to protect the state machine from older versions of libssh2,
ie 0.14, that don't know about newer constants used in the state machine.

17 years agoWith lots of help from Rich Rauenza(?) in bug #1733119, we introduce a fairly
Daniel Stenberg [Tue, 12 Jun 2007 21:39:21 +0000 (21:39 +0000)]
With lots of help from Rich Rauenza(?) in bug #1733119, we introduce a fairly
complicated work-around for 64bit HPUX compiles. We do the fix using inline
static functions to make them follow the header file properly and thus get
used fine in the test suite too etc.

17 years ago* Updates for the latest version of libssh2, specifically
James Housley [Tue, 12 Jun 2007 21:32:45 +0000 (21:32 +0000)]
* Updates for the latest version of libssh2, specifically
  libssh2_sftp_shutdown() and libssh2_session_free() can now return
  LIBSSH2_ERROR_EAGAIN.

* Fix the _send() and _recv() return values so non-blocking works

17 years agoWhile connect and transfer works fine in non-blocking mode for the test
James Housley [Tue, 12 Jun 2007 16:15:20 +0000 (16:15 +0000)]
While connect and transfer works fine in non-blocking mode for the test
suite, transfer fails in the real world.  So after connect set to blocking
as full non-blocking is migrated out.

17 years agomention James current work on ssh
Daniel Stenberg [Tue, 12 Jun 2007 13:51:57 +0000 (13:51 +0000)]
mention James current work on ssh