aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-06-27removed trailing spaces.Gunter Knauf
2007-06-27fixed wrong var nameGunter Knauf
2007-06-26Robert Iakobashvili re-arranged the internal hash code to work with a customDaniel Stenberg
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.
2007-06-26The results for a list only directory should be sent to the callbackJames Housley
2007-06-26ftp_list_only mode should list all file types, not just directories.James Housley
2007-06-25gah, adding missing braces, removed silly debug output, added new debug outputDaniel Stenberg
2007-06-25Adjusted how libcurl treats HTTP 1.1 responses without content-lenth orDaniel Stenberg
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.
2007-06-24As reported by "Tro" in http://curl.haxx.se/mail/lib-2007-06/0161.html andDaniel Stenberg
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.
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-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-18make the ftp-method multicwd case possible to LIST the root directory of aDaniel Stenberg
server!
2007-06-16Curl_ssh_connect() was using an uninitialized variable in one location.James Housley
Caught by the auto-builds
2007-06-14Shmulik Regev fixed a flaw in the multi interface that occurred when doingDaniel Stenberg
HTTP CONNECT over a proxy
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-13Restore functionality mistakenly removed in the previous commitJames Housley
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-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-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-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-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-07Fixed a compiler warning on uClibc.Dan Fandrich
2007-06-05if we read zero bytes from the proxy, the connection is broken and we needDaniel Stenberg
to bail out
2007-06-05mark connect failures as non-connected when ConnectPlease() fails, like whenDaniel Stenberg
a connection through a socks proxy doesn't work
2007-06-01ouch, two conditionals were turned backwards!Daniel Stenberg
2007-06-01do the update timer stuff even when CURLM_CALL_MULTI_PERFORM is returnedDaniel Stenberg
2007-05-31When transferring 500 downloads in parallel with a c-ares enabled build onlyDaniel Stenberg
to find that it crashed miserably, and this was due to some select()isms left in the code. This was due to API restrictions in c-ares 1.3.x, but with the upcoming c-ares 1.4.0 this is no longer the case so now libcurl runs much better with c-ares and the multi interface with > 1024 file descriptors in use.
2007-05-31Feng Tu made (lib)curl support "upload" resuming work for file:// URLs.Daniel Stenberg
2007-05-30Added CURLMOPT_MAXCONNECTS which is a curl_multi_setopt() option for settingDaniel Stenberg
the maximum size of the connection cache maximum size of the multi handle.
2007-05-30remove really annoying debug output that makes life miserable when you doDaniel Stenberg
hundreds of parallel transfers...
2007-05-26Primarily this fixes an off-by-one buffer overwrite (rare but still existing).Daniel Stenberg
I also switched from calloc() to malloc() as a minor performance boost since the rest of the code fills in the structs fine anyway - and they must for the case when we use the stack-based auto variable array instead of the allocated one. I made the loop filling in poll_fds[] break when poll_nfds is reached as a minor speed improvement.
2007-05-25Rob Crittenden fixed bug #1705802Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1705802), which was filed by Daniel Black identifying several FTP-SSL test cases fail when we build libcurl with NSS for TLS/SSL. Listed as #42 in KNOWN_BUGS.