Daniel Stenberg [Thu, 30 Aug 2007 14:06:00 +0000 (14:06 +0000)]
Made Curl_GetFTPResponse() use lots less code and instead use the proper
low-level ftp_readresp() function. Hopefully adressing bug #1779054.
Dan Fandrich [Wed, 29 Aug 2007 05:36:53 +0000 (05:36 +0000)]
Added lots of consts
Dan Fandrich [Tue, 28 Aug 2007 18:23:19 +0000 (18:23 +0000)]
Mention that 'make test' does more than just run all the tests (suggested
by Kris/tinker105 in bug #1779054) and mention the torture tests.
Dan Fandrich [Mon, 27 Aug 2007 06:31:28 +0000 (06:31 +0000)]
Fixed some minor type mismatches and missing consts mainly found by splint.
Dan Fandrich [Sun, 26 Aug 2007 05:53:26 +0000 (05:53 +0000)]
Fixed some minor mismatched types found by splint.
Gunter Knauf [Sat, 25 Aug 2007 12:10:30 +0000 (12:10 +0000)]
bail out with error if someone tries to use another cert than PEM with OpenLDAP.
Gunter Knauf [Sat, 25 Aug 2007 12:08:38 +0000 (12:08 +0000)]
only link with -lwldap32 if we dont use other LDAP SDKs.
Gunter Knauf [Fri, 24 Aug 2007 17:08:49 +0000 (17:08 +0000)]
added defines to build with OpenLDAP.
Patrick Monnerat [Fri, 24 Aug 2007 15:56:59 +0000 (15:56 +0000)]
Adding DOCS file in OS400 installation library with license and various other documentation text files.
Setting character set of OS400 installed source components
Daniel Stenberg [Fri, 24 Aug 2007 14:00:42 +0000 (14:00 +0000)]
Bug report #1779054 (curl.haxx.se/bug/view.cgi?id=1779054) pointed
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.
Patrick Monnerat [Fri, 24 Aug 2007 09:06:17 +0000 (09:06 +0000)]
Remove leading space in curl_version_info ss_version field.
Dan Fandrich [Thu, 23 Aug 2007 23:25:47 +0000 (23:25 +0000)]
Added test case 1005 to test excessively-long replies spread out over
multiple lines (similar to test case 1003).
Dan Fandrich [Thu, 23 Aug 2007 23:24:39 +0000 (23:24 +0000)]
Allow ftp server alternate replies to contain backslash-escaped control
characters.
Patrick Monnerat [Thu, 23 Aug 2007 18:46:45 +0000 (18:46 +0000)]
Make ldap.h, gssapi.h and qsossl.h inclusions conditional.
Dan Fandrich [Thu, 23 Aug 2007 18:45:28 +0000 (18:45 +0000)]
Need even more time to wait for an accept.
Dan Fandrich [Thu, 23 Aug 2007 17:35:00 +0000 (17:35 +0000)]
Added test1004 to validate a previous fix for a memory leak when an
empty proxy server is selected.
Dan Fandrich [Thu, 23 Aug 2007 17:26:42 +0000 (17:26 +0000)]
Mention OS/400 and TPF
Daniel Stenberg [Thu, 23 Aug 2007 15:00:55 +0000 (15:00 +0000)]
ported to OS/400
Daniel Stenberg [Thu, 23 Aug 2007 14:58:10 +0000 (14:58 +0000)]
added the two new os400 files
Daniel Stenberg [Thu, 23 Aug 2007 14:46:37 +0000 (14:46 +0000)]
Add the files in the OS400 dir to the dist. I didn't add it as a new subdir
just because if I do that automake does funny things automatically with the
makefile.sh file in that directory and thus doing it this way was a quick
work-around that annoyance!
Daniel Stenberg [Thu, 23 Aug 2007 14:33:08 +0000 (14:33 +0000)]
--libcurl does not support -F
Patrick Monnerat [Thu, 23 Aug 2007 14:30:24 +0000 (14:30 +0000)]
Porting library to OS/400
Gunter Knauf [Thu, 23 Aug 2007 00:10:56 +0000 (00:10 +0000)]
added support for CA cert verification;
default now to verify cert unless data->set.ssl.verifypeer is 0.
Daniel Stenberg [Wed, 22 Aug 2007 22:48:41 +0000 (22:48 +0000)]
Bug report #1779751 (curl.haxx.se/bug/view.cgi?id=1779751) pointed
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.
Gisle Vanem [Wed, 22 Aug 2007 18:05:46 +0000 (18:05 +0000)]
Reversed the 'HAVE_LDAP_URL_PARSE' ifdef statement.
Daniel Stenberg [Wed, 22 Aug 2007 14:18:06 +0000 (14:18 +0000)]
Bug report #1779054 (curl.haxx.se/bug/view.cgi?id=1779054) pointed
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.
Daniel Stenberg [Wed, 22 Aug 2007 14:09:13 +0000 (14:09 +0000)]
added a size > buffer size check to make it easier to track this in the
future
Daniel Stenberg [Wed, 22 Aug 2007 13:57:49 +0000 (13:57 +0000)]
Upped the buffer size to 17000+ bytes to prepare for the upcoming test 1003
that verfies ridiculously long server response lines. Also changed sprintf
to snprintf in a few places.
Daniel Stenberg [Wed, 22 Aug 2007 11:28:26 +0000 (11:28 +0000)]
1) the talk about strings used by libcurl doesn't apply to libcurl >= 7.17.0
2) added nroff header
Gunter Knauf [Wed, 22 Aug 2007 10:14:57 +0000 (10:14 +0000)]
for now comment the tls_start section...
Gunter Knauf [Tue, 21 Aug 2007 03:04:46 +0000 (03:04 +0000)]
sync libssh2 paths with comments.
Gunter Knauf [Tue, 21 Aug 2007 02:42:29 +0000 (02:42 +0000)]
added targets to create the files missing in CVS which makes calling buildconf.bat obsolete;
removed obsolete wsock32 link lib.
Gunter Knauf [Mon, 20 Aug 2007 23:31:57 +0000 (23:31 +0000)]
fixed wrong CLAGS define.
Gunter Knauf [Mon, 20 Aug 2007 23:31:26 +0000 (23:31 +0000)]
fixed warning with unused var;
removed now obsolete defines since we include now ldap headers which define these.
Daniel Stenberg [Mon, 20 Aug 2007 21:54:00 +0000 (21:54 +0000)]
Based on a patch by Christian Vogt, the FTP code now sets the upcoming
download transfer size much earlier to be possible to get read with
CURLINFO_CONTENT_LENGTH_DOWNLOAD as soon as possible.
Gunter Knauf [Mon, 20 Aug 2007 19:33:46 +0000 (19:33 +0000)]
converted tabs to spaces.
Gunter Knauf [Mon, 20 Aug 2007 19:30:25 +0000 (19:30 +0000)]
removed trailing spaces.
Dan Fandrich [Mon, 20 Aug 2007 17:53:38 +0000 (17:53 +0000)]
Increase timeout for accept for improved reliability on loaded servers.
Gunter Knauf [Mon, 20 Aug 2007 16:34:04 +0000 (16:34 +0000)]
compile with ldaps by default since it seems to work fine so far.
Gunter Knauf [Mon, 20 Aug 2007 16:30:41 +0000 (16:30 +0000)]
fixed ldaps section for OpenLDAP. Still not working, but at least it 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.
Gunter Knauf [Mon, 20 Aug 2007 16:21:51 +0000 (16:21 +0000)]
added some comments about the paths and build options;
added define to build with ldaps support;
enabled build with the Novell LDAP SDK.
Gunter Knauf [Mon, 20 Aug 2007 15:51:45 +0000 (15:51 +0000)]
dont set CURL_LDAP_HYBRID for MingW32 configure builds.
Gunter Knauf [Mon, 20 Aug 2007 12:50:44 +0000 (12:50 +0000)]
added define for ldap_ssl.h.
Gunter Knauf [Sun, 19 Aug 2007 23:23:50 +0000 (23:23 +0000)]
ignore errors of the RM command; seems that the del command fails on W2K when the file to delete isnt found while on XP it only prints the warning but make continues....
Gunter Knauf [Sun, 19 Aug 2007 00:26:24 +0000 (00:26 +0000)]
added some comments in the makefiles about build options.
Daniel Stenberg [Fri, 17 Aug 2007 22:33:25 +0000 (22:33 +0000)]
ignore all the binaries and the .deps and .libs
Daniel Stenberg [Fri, 17 Aug 2007 22:31:51 +0000 (22:31 +0000)]
- Robson Braga Araujo filed bug report #1776232
(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).
Daniel Stenberg [Fri, 17 Aug 2007 22:24:51 +0000 (22:24 +0000)]
remove stupid comment since there's no content in this test case
Daniel Stenberg [Fri, 17 Aug 2007 22:22:43 +0000 (22:22 +0000)]
Robson Braga Araujo filed bug report #1776235
(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.
Daniel Stenberg [Fri, 17 Aug 2007 22:21:41 +0000 (22:21 +0000)]
NEXT soname bump
* #undef CURL_FTP_HTTPSTYLE_HEAD in lib/ftp.c to remove the HTTP-style headers
from being output in NOBODY requests over ftp
Daniel Stenberg [Fri, 17 Aug 2007 22:17:23 +0000 (22:17 +0000)]
some keywords for future stats/coverage checks
Daniel Stenberg [Fri, 17 Aug 2007 22:11:25 +0000 (22:11 +0000)]
Moved the 5320 and 5322 into the 1000-series instead which is a documented
range. They are about FTP but the 100-199 range is full.
Daniel Stenberg [Fri, 17 Aug 2007 20:21:32 +0000 (20:21 +0000)]
Song Ma provided a patch that cures a problem libcurl has when doing resume
HTTP PUT using Digest authentication. Test case 5320 and 5322 were also
added to verify the functionality.
Gunter Knauf [Thu, 16 Aug 2007 15:23:39 +0000 (15:23 +0000)]
fixed warning about uninitialized.
Gunter Knauf [Thu, 16 Aug 2007 14:08:47 +0000 (14:08 +0000)]
added basic ldaps support; for now its ifdef'd with HAVE_LDAP_SSL unless we 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.
Gunter Knauf [Wed, 15 Aug 2007 16:17:32 +0000 (16:17 +0000)]
added define PORT_LDAPS.
Patrick Monnerat [Wed, 15 Aug 2007 14:49:16 +0000 (14:49 +0000)]
Fix a potential buffer overflow bug in lib/version.c
Gunter Knauf [Wed, 15 Aug 2007 08:18:37 +0000 (08:18 +0000)]
added ldap_msgfree() to fix memory leak.
Gunter Knauf [Tue, 14 Aug 2007 18:39:26 +0000 (18:39 +0000)]
added a dependency for libcares if build with ares support;
other minor makefile tweaks.
Dan Fandrich [Tue, 14 Aug 2007 17:23:32 +0000 (17:23 +0000)]
LDAP is no longer excluded on Minix.
Gunter Knauf [Tue, 14 Aug 2007 16:43:52 +0000 (16:43 +0000)]
updated NetWare docu about recent LDAP changes.
Gunter Knauf [Tue, 14 Aug 2007 16:31:20 +0000 (16:31 +0000)]
only include LDAP headers if we build with LDAP support.
Gunter Knauf [Tue, 14 Aug 2007 14:48:25 +0000 (14:48 +0000)]
added -lwldap32 to link libs.
Gunter Knauf [Tue, 14 Aug 2007 13:01:40 +0000 (13:01 +0000)]
changed autoload dependent LDAP NLM.
Gunter Knauf [Tue, 14 Aug 2007 12:02:10 +0000 (12:02 +0000)]
trial to enable LDAP support again with patched Novell headers.
Daniel Stenberg [Tue, 14 Aug 2007 10:28:21 +0000 (10:28 +0000)]
Andrew Wansink provided an NTLM bugfix: in the case the server sets the flag
NTLMFLAG_NEGOTIATE_UNICODE, we need to filter it off because libcurl doesn't
unicode encode the strings it packs into the NTLM authenticate packet.
Daniel Stenberg [Tue, 14 Aug 2007 10:11:34 +0000 (10:11 +0000)]
the curl_multi_handle_control() idea
Dan Fandrich [Mon, 13 Aug 2007 18:11:37 +0000 (18:11 +0000)]
Removed redundant dependency lines
Dan Fandrich [Mon, 13 Aug 2007 16:37:51 +0000 (16:37 +0000)]
Removed unused variable.
Patrick Monnerat [Mon, 13 Aug 2007 13:03:08 +0000 (13:03 +0000)]
Simplify and rename internal structure to avoid potential name clash with LDAP header file.
Daniel Stenberg [Sun, 12 Aug 2007 22:25:50 +0000 (22:25 +0000)]
Fixed the LDAP_DEPRECATED #define as suggested by Daniel Johnson, and
indented some of the code to curl-style
Daniel Stenberg [Sun, 12 Aug 2007 20:36:06 +0000 (20:36 +0000)]
minor change in language for the --libcurl source header
Gunter Knauf [Sun, 12 Aug 2007 00:48:10 +0000 (00:48 +0000)]
disable LDAP since we can no longer compile due to header incompatiblities.
Daniel Stenberg [Sat, 11 Aug 2007 21:05:13 +0000 (21:05 +0000)]
Allen Pulsifer provided a patch that makes libcurl set the expected download
size earlier when doing HTTP downloads, so that applications and the
progress meter etc know get the info earlier in the flow than before.
Daniel Stenberg [Sat, 11 Aug 2007 20:57:54 +0000 (20:57 +0000)]
Patrick Monnerat modified the LDAP code and approach in curl. Starting now,
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.
Gunter Knauf [Thu, 9 Aug 2007 22:33:49 +0000 (22:33 +0000)]
fixed warning with gcc 4.x (hopefully); dynamincally imported UseAccurateCaseForPaths() for CLIB port to be stonetime-compatible (NW 3.x).
Gunter Knauf [Thu, 9 Aug 2007 21:05:05 +0000 (21:05 +0000)]
fixed a warning which MingW gcc 4.2.1.
Dan Fandrich [Thu, 9 Aug 2007 03:28:16 +0000 (03:28 +0000)]
There's no need to ignore the User-Agent for this test.
Gunter Knauf [Wed, 8 Aug 2007 20:09:08 +0000 (20:09 +0000)]
moved ugly CLIB define to nwos.c.
Dan Fandrich [Wed, 8 Aug 2007 17:51:40 +0000 (17:51 +0000)]
Song Ma noted a zlib memory leak in the illegal compressed header
countermeasures code path.
Gunter Knauf [Wed, 8 Aug 2007 17:07:16 +0000 (17:07 +0000)]
removed asm rules since we have no asm in the sources, and this produced 2 warnings.
Gunter Knauf [Wed, 8 Aug 2007 16:59:43 +0000 (16:59 +0000)]
blocked ssize_t define for MingW32.
Patrick Monnerat [Wed, 8 Aug 2007 10:37:07 +0000 (10:37 +0000)]
Fix getsockname argument type
Improve "universal" alignment type in struct memdebug
Daniel Stenberg [Tue, 7 Aug 2007 21:14:31 +0000 (21:14 +0000)]
Usage of the BCURLOPT_PROGRESSFUNCTION callback is not recommended when using
the multi interface, but having the comment in here caused more questions than
we fixed problems so I remove it now. It still works fine.
Dan Fandrich [Tue, 7 Aug 2007 18:24:49 +0000 (18:24 +0000)]
Fixed torture test for test 509
Gunter Knauf [Tue, 7 Aug 2007 17:40:56 +0000 (17:40 +0000)]
moved HAVE_LONGLONG from makefiles to config-win32.h.
Daniel Stenberg [Tue, 7 Aug 2007 13:01:36 +0000 (13:01 +0000)]
add URL to more "generated public config.h" details
Patrick Monnerat [Tue, 7 Aug 2007 12:44:38 +0000 (12:44 +0000)]
Some #if --> #ifdef
undef standard *printf before (re)defining them
Dan Fandrich [Tue, 7 Aug 2007 00:10:27 +0000 (00:10 +0000)]
Fixed some icc compiler warnings.
Gunter Knauf [Mon, 6 Aug 2007 22:21:38 +0000 (22:21 +0000)]
Peteris Krumins pointed out that MingW32 doesnt provide a batch file to set the path to the bin folder.
Daniel Stenberg [Mon, 6 Aug 2007 15:58:05 +0000 (15:58 +0000)]
ontributors from the 7.16.4 release notes and a removed duplicate
Daniel Stenberg [Mon, 6 Aug 2007 15:54:38 +0000 (15:54 +0000)]
removed the rsaglue hint since it doesn't apply to modern OpenSSL, and added
some brief hints about gssapi and libssh2
Daniel Stenberg [Mon, 6 Aug 2007 14:56:21 +0000 (14:56 +0000)]
we now support GSS/Kerberos 5 for ftp file transfers!
Daniel Stenberg [Sun, 5 Aug 2007 21:33:31 +0000 (21:33 +0000)]
Patrick Monnerat updated the _FORM_DEBUG-enabled code, and I updated comments
based on his comments/suggestions.
Gunter Knauf [Sat, 4 Aug 2007 23:35:23 +0000 (23:35 +0000)]
changed to use libssh2 0.16;
fixed link order in case libssh2 is build with zlib.
Daniel Stenberg [Sat, 4 Aug 2007 20:58:53 +0000 (20:58 +0000)]
another mirror
Daniel Stenberg [Sat, 4 Aug 2007 20:47:59 +0000 (20:47 +0000)]
Patrick Monnerat fixed curl_easy_escape() and curlx_strtoll() to work on
non-ASCII systems.
Dan Fandrich [Sat, 4 Aug 2007 16:54:58 +0000 (16:54 +0000)]
Fixed a couple of compiler warnings.
Dan Fandrich [Fri, 3 Aug 2007 22:46:59 +0000 (22:46 +0000)]
Refactored CreateConnection() somewhat to reduce its length by splitting
it into a few new functions.
Fixed a few leaks in out of memory conditions, including for test case 231.
Gunter Knauf [Fri, 3 Aug 2007 19:54:31 +0000 (19:54 +0000)]
fixed small fix issue I introduced with my previous commit.