aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-08-30Added more accurate error code returns from SFTP operations. Added testDan Fandrich
case 615 to test an SFTP upload failure.
2007-08-30Renamed several libcurl error codes and options to make them more generalDan Fandrich
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)
2007-08-30Fixed a few compiler warnings. Try to do a slightly better job ofDan Fandrich
cleaning up after an OOM condition in curl_multi_add_handle
2007-08-30Made Curl_GetFTPResponse() use lots less code and instead use the properDaniel Stenberg
low-level ftp_readresp() function. Hopefully adressing bug #1779054.
2007-08-29Added lots of constsDan Fandrich
2007-08-27Fixed some minor type mismatches and missing consts mainly found by splint.Dan Fandrich
2007-08-26Fixed some minor mismatched types found by splint.Dan Fandrich
2007-08-25bail out with error if someone tries to use another cert than PEM with OpenLDAP.Gunter Knauf
2007-08-25only link with -lwldap32 if we dont use other LDAP SDKs.Gunter Knauf
2007-08-24added defines to build with OpenLDAP.Gunter Knauf
2007-08-24Bug report #1779054 (http://curl.haxx.se/bug/view.cgi?id=1779054) pointedDaniel Stenberg
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.
2007-08-24Remove leading space in curl_version_info ss_version field.Patrick Monnerat
2007-08-23added the two new os400 filesDaniel Stenberg
2007-08-23Porting library to OS/400Patrick Monnerat
2007-08-23added support for CA cert verification;Gunter Knauf
default now to verify cert unless data->set.ssl.verifypeer is 0.
2007-08-22Bug report #1779751 (http://curl.haxx.se/bug/view.cgi?id=1779751) pointedDaniel Stenberg
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.
2007-08-22Reversed the 'HAVE_LDAP_URL_PARSE' ifdef statement.Gisle Vanem
2007-08-22Bug report #1779054 (http://curl.haxx.se/bug/view.cgi?id=1779054) pointedDaniel Stenberg
out that libcurl didn't deal with very long (>16K) FTP server response lines properly. Starting now, libcurl will chop them off (thus the client app will not get the full line) but survive and deal with them fine otherwise. Test case 1003 was added to verify this.
2007-08-22for now comment the tls_start section...Gunter Knauf
2007-08-21sync libssh2 paths with comments.Gunter Knauf
2007-08-21added targets to create the files missing in CVS which makes calling ↵Gunter Knauf
buildconf.bat obsolete; removed obsolete wsock32 link lib.
2007-08-20fixed warning with unused var;Gunter Knauf
removed now obsolete defines since we include now ldap headers which define these.
2007-08-20Based on a patch by Christian Vogt, the FTP code now sets the upcomingDaniel Stenberg
download transfer size much earlier to be possible to get read with CURLINFO_CONTENT_LENGTH_DOWNLOAD as soon as possible.
2007-08-20compile with ldaps by default since it seems to work fine so far.Gunter Knauf
2007-08-20fixed ldaps section for OpenLDAP. Still not working, but at least it ↵Gunter Knauf
compiles now, and should serve as base to get it finally working. Also seems that the ifdefs can be arranged some better because the Solaris and Netscape/iPlanet/Mozilla LDAP SDKs seem to be closer to the Novell section than the OpenLDAP one.
2007-08-20added some comments about the paths and build options;Gunter Knauf
added define to build with ldaps support; enabled build with the Novell LDAP SDK.
2007-08-20added define for ldap_ssl.h.Gunter Knauf
2007-08-19ignore errors of the RM command; seems that the del command fails on W2K ↵Gunter Knauf
when the file to delete isnt found while on XP it only prints the warning but make continues....
2007-08-19added some comments in the makefiles about build options.Gunter Knauf
2007-08-17- Robson Braga Araujo filed bug report #1776232Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1776232) about libcurl calling Curl_client_write(), passing on a const string that the caller may not modify and yet it does (on some platforms).
2007-08-17Robson Braga Araujo filed bug report #1776235Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1776235) about ftp requests with NOBODY on a directory would do a "SIZE (null)" request. This is now fixed and test case 1000 was added to verify.
2007-08-17Song Ma provided a patch that cures a problem libcurl has when doing resumeDaniel Stenberg
HTTP PUT using Digest authentication. Test case 5320 and 5322 were also added to verify the functionality.
2007-08-16fixed warning about uninitialized.Gunter Knauf
2007-08-16added basic ldaps support; for now its ifdef'd with HAVE_LDAP_SSL unless we ↵Gunter Knauf
know its fully working, and available with all LDAP SDKs. Win32 requires to have the trusted CA in local keystore - I've not found yet a way to disable the cert check.
2007-08-15added define PORT_LDAPS.Gunter Knauf
2007-08-15Fix a potential buffer overflow bug in lib/version.cPatrick Monnerat
2007-08-15added ldap_msgfree() to fix memory leak.Gunter Knauf
2007-08-14added a dependency for libcares if build with ares support;Gunter Knauf
other minor makefile tweaks.
2007-08-14only include LDAP headers if we build with LDAP support.Gunter Knauf
2007-08-14added -lwldap32 to link libs.Gunter Knauf
2007-08-14changed autoload dependent LDAP NLM.Gunter Knauf
2007-08-14trial to enable LDAP support again with patched Novell headers.Gunter Knauf
2007-08-14Andrew Wansink provided an NTLM bugfix: in the case the server sets the flagDaniel Stenberg
NTLMFLAG_NEGOTIATE_UNICODE, we need to filter it off because libcurl doesn't unicode encode the strings it packs into the NTLM authenticate packet.
2007-08-13Removed unused variable.Dan Fandrich
2007-08-13Simplify and rename internal structure to avoid potential name clash with ↵Patrick Monnerat
LDAP header file.
2007-08-12Fixed the LDAP_DEPRECATED #define as suggested by Daniel Johnson, andDaniel Stenberg
indented some of the code to curl-style
2007-08-12disable LDAP since we can no longer compile due to header incompatiblities.Gunter Knauf
2007-08-11Allen Pulsifer provided a patch that makes libcurl set the expected downloadDaniel Stenberg
size earlier when doing HTTP downloads, so that applications and the progress meter etc know get the info earlier in the flow than before.
2007-08-11Patrick Monnerat modified the LDAP code and approach in curl. Starting now,Daniel Stenberg
the configure script checks for openldap and friends and we link with those libs just like we link all other third party libraries, and we no longer dlopen() those libraries. Our private header file lib/ldap.h was renamed to lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix) just before this commit, just in case.
2007-08-09fixed warning with gcc 4.x (hopefully); dynamincally imported ↵Gunter Knauf
UseAccurateCaseForPaths() for CLIB port to be stonetime-compatible (NW 3.x).