aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-06-22made debug flag settable from outside; add allways debug stuff when DB != NDEBUGGunter Knauf
2007-06-22remove annoying debug outputDaniel Stenberg
2007-06-21Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread CheckerDaniel Stenberg
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.
2007-06-20Adam Piggott filed bug report #1740263Daniel Stenberg
(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...
2007-06-20If the creation of rsa and rsa_pub fail due to memory, don't tryJames Housley
other authentication methods. Terminate with a memory error.
2007-06-19Check both variables, not the same one twice. Pointed out by Colin HogbenJames Housley
2007-06-19and fix another flaw in the singlecwd case when we get ftp://site.com/, alsoDaniel Stenberg
from the #1739100 bug report
2007-06-19extra precaution to make PATH_MAX always be definedDaniel Stenberg
2007-06-19Change rsa and rsa_pub from static arrays in ssh_conn to be dynamicallyJames Housley
allocated when needed
2007-06-18If LIBSSH2DEBUG was defined "i" was undefinedJames Housley
2007-06-18Robson Braga Araujo filed bug report #1739100Daniel Stenberg
(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).
2007-06-18make the ftp-method multicwd case possible to LIST the root directory of aDaniel Stenberg
server!
2007-06-18Test listing of root dir with the three ftp-methods. KNOWN_BUGS #44 make meDaniel Stenberg
disable test 351 by default by I add the test case anyway to make it easier to work on this problem in the future.
2007-06-1844. --ftp-method nocwd does not handle URLs ending with a slash properly (itDaniel Stenberg
should list the contents of that directory). See test case 351.
2007-06-18Daniel Johnson reported the tests now run fine on OS X!Daniel Stenberg
2007-06-16Curl_ssh_connect() was using an uninitialized variable in one location.James Housley
Caught by the auto-builds
2007-06-14Tom Regner added /usr/lib/misc to the path to scan for sftp to make theDaniel Stenberg
sftp tests run fine on gentoo
2007-06-14Shmulik Regev fixed a flaw in the multi interface that occurred when doingDaniel Stenberg
HTTP CONNECT over a proxy
2007-06-14s/HAVE_POLL/HAVE_SYS_POLL_HDaniel Stenberg
2007-06-14Remove duplicate code that was left in as part of 1.35. This codeJames Housley
only affected sftp_sendquote() for the "chgrp/chmod/chown" commands. This also fixed failure of test 614 on a system that previously failed.
2007-06-14Make our own definitions of the POLL* defiens and the pollfd struct only getDaniel Stenberg
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...
2007-06-14BUG FIX: When reading a directory listing that contains symlinksJames Housley
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.
2007-06-13Tom Regner provided a patch and worked together with James Housley, so nowDaniel Stenberg
CURLOPT_FTP_CREATE_MISSING_DIRS works for SFTP connections as well as FTP ones.
2007-06-13Rich Rauenzahn filed bug report #1733119Daniel Stenberg
(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.
2007-06-13Restore functionality mistakenly removed in the previous commitJames Housley
2007-06-13Update documentation to reflect SFTP's ability to create directories onJames Housley
upload. Some text provieded by Tom Regner
2007-06-13libssh2_session_free() returns void. Fix "#endif".Gisle Vanem
2007-06-13Commit Tom Regner's code for SFTP create missing directories. This patchJames Housley
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.
2007-06-13Add a define to protect the state machine from older versions of libssh2,James Housley
ie 0.14, that don't know about newer constants used in the state machine.
2007-06-12With lots of help from Rich Rauenza(?) in bug #1733119, we introduce a fairlyDaniel Stenberg
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.
2007-06-12* Updates for the latest version of libssh2, specificallyJames Housley
libssh2_sftp_shutdown() and libssh2_session_free() can now return LIBSSH2_ERROR_EAGAIN. * Fix the _send() and _recv() return values so non-blocking works
2007-06-12While connect and transfer works fine in non-blocking mode for the testJames Housley
suite, transfer fails in the real world. So after connect set to blocking as full non-blocking is migrated out.
2007-06-12mention James current work on sshDaniel Stenberg
2007-06-12Prevent the state machine from getting stuck in SSH_AUTH_HOST_INITJames Housley
2007-06-12Convert Curl_ssh_connect() to run in a state machine forJames Housley
LIBSSH2_APINO >= 200706012030. More to come...
2007-06-12remove unused field in the state structDaniel Stenberg
2007-06-11Wait longer for servers to start up since the ssh server needs to generateDan Fandrich
keys the first time (which can take a while on a slow or loaded host). Enforce a longer startup wait time for the ssh client SOCKS server, too. Check for an error code from startnew() when starting any server.
2007-06-11We do not use RSA keys in the test suite.Dan Fandrich
2007-06-11restore the correct timeout time that my previous commit brokeDaniel Stenberg
2007-06-11Properly wait for the c-ares resolve to complete, hopefully the cure forDaniel Stenberg
bug #1733955
2007-06-11Daniel Black's clarfication about the NTLM supportDaniel Stenberg
2007-06-11constify 'hostname' in init_thread_sync_data(). Simply clearGisle Vanem
the whole 'tsd' structure on exit in destroy_thread_sync_data().
2007-06-11Squelsh some warnings for libssh older than 0.1.5.Gisle Vanem
2007-06-08Fixed the test harness so that it actually kills the ssh being used asDan Fandrich
the SOCKS server.
2007-06-08Improved compatibility with perl 5.0 on the 'open' calls.Dan Fandrich
2007-06-08Incorporated Daniel Black's test706 and test707 SOCKS test cases.Dan Fandrich
2007-06-08Improved compatibility with perl 5.0 on the 'open' calls.Dan Fandrich
2007-06-08Curl_scp_done() needs to call libssh2_channel_free() to prevent aJames Housley
memory leak, and it is the right thing to do.
2007-06-08Fix to work with the latest CVS version of libssh2James Housley
* As of (LIBSSH2_APINO >= 200706012030) there are not *nb() functions * As of (LIBSSH2_APINO >= 200706012030) most libssh2_*() functions can return LIBSSH2_ERROR_EAGAIN to indicate that the call would block. To make the code work as previously, blocking, all the code has been updated so that when (LIBSSH2_APINO >= 200706012030) it loops simulating blocking. This allows the existing code to function and not hold up the upcoming release.
2007-06-08start working on 1.4.1Daniel Stenberg