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.
Gunter Knauf [Fri, 3 Aug 2007 14:30:02 +0000 (14:30 +0000)]
some more makefile fixes/changes.
James Housley [Fri, 3 Aug 2007 13:57:37 +0000 (13:57 +0000)]
Start adding some expanded error conversion of libssh2 errors.
James Housley [Fri, 3 Aug 2007 13:46:59 +0000 (13:46 +0000)]
The previous commit to force the use of libssh2-0.16 by removing
LIBSSH2_APINO
Gunter Knauf [Fri, 3 Aug 2007 12:53:00 +0000 (12:53 +0000)]
changed 'rm -f' to 'del /f' so it works without GnuUtils as Peteris Krumins pointed out; changed to use latest external libs.
Gunter Knauf [Fri, 3 Aug 2007 11:46:00 +0000 (11:46 +0000)]
Peteris Krumins pointed out some MingW32 related build issues.
Gunter Knauf [Fri, 3 Aug 2007 11:24:22 +0000 (11:24 +0000)]
Peteris Krumins pointed out that the standard MingW32 build depends on zlib; removed that, and added another option for zlib build, and renamed all other targets to reflect zlib dependency.
Daniel Stenberg [Fri, 3 Aug 2007 08:31:47 +0000 (08:31 +0000)]
SCP and SFTP support now requires libssh2 0.16 or later
Daniel Stenberg [Fri, 3 Aug 2007 08:25:28 +0000 (08:25 +0000)]
remove left-over partly support for libssh2 0.14
Daniel Stenberg [Fri, 3 Aug 2007 08:14:51 +0000 (08:14 +0000)]
The SSH code now only works with libssh2 0.16 or later. Thus we must not
release the next curl until there is a libssh2 0.16 released.
Daniel Stenberg [Thu, 2 Aug 2007 20:10:28 +0000 (20:10 +0000)]
Scott Cantor filed bug report #1766320
(http://curl.haxx.se/bug/view.cgi?id=1766320) pointing out that the libcurl
code accessed two curl_easy_setopt() options (CURLOPT_DNS_CACHE_TIMEOUT and
CURLOPT_DNS_USE_GLOBAL_CACHE) as ints even though they're documented to be
passed in as longs, and that makes a difference on 64 bit architectures.
Dan Fandrich [Thu, 2 Aug 2007 19:23:35 +0000 (19:23 +0000)]
Fixed a compiler warning.
Daniel Stenberg [Thu, 2 Aug 2007 14:42:16 +0000 (14:42 +0000)]
Patrick Monnerat's cleanup fix after my alloc-strings commit
Daniel Stenberg [Thu, 2 Aug 2007 14:09:08 +0000 (14:09 +0000)]
Dmitriy Sergeyev reported a regression: resumed file:// transfers broke
after 7.16.2. This is much due to the different treatment file:// gets
internally, but now I added test 231 to make it less likely to happen again
without us noticing!
Daniel Stenberg [Thu, 2 Aug 2007 13:26:06 +0000 (13:26 +0000)]
clarify that setting POSTFIELDS to NULL or "" is not enough to make a zero byte
POST
Daniel Stenberg [Thu, 2 Aug 2007 11:34:50 +0000 (11:34 +0000)]
argh, Greg Morse pointed out that the NTLM POST fix only worked if VERBOSE
was set, this should make it work for all cases!
Daniel Stenberg [Wed, 1 Aug 2007 21:20:01 +0000 (21:20 +0000)]
Patrick Monnerat and I modified libcurl so that now it *copies* all strings
passed to it with curl_easy_setopt()! Previously it has always just refered
to the data, forcing the user to keep the data around until libcurl is done
with it. That is now history and libcurl will instead clone the given
strings and keep private copies.
Daniel Stenberg [Wed, 1 Aug 2007 12:58:04 +0000 (12:58 +0000)]
Greg Morse reported a problem with POSTing using ANYAUTH to a server requiring
NTLM, and he provided test code and a test server and we worked out a bug
fix. We failed to count sent body data at times, which then caused internal
confusions when libcurl tried to send the rest of the data in order to
maintain the same connection alive.
(and then I did some minor reformatting of code in lib/http.c)
Daniel Stenberg [Mon, 30 Jul 2007 22:54:02 +0000 (22:54 +0000)]
AIX 4 and 5 get to use non-blocking sockets
Daniel Stenberg [Mon, 30 Jul 2007 22:53:18 +0000 (22:53 +0000)]
Peter O'Gorman pointed out (and fixed) that the non-blocking check in
configure made libcurl use blocking sockets on AIX 4 and 5, while that
wasn't the intention.
Daniel Stenberg [Mon, 30 Jul 2007 22:01:04 +0000 (22:01 +0000)]
users should use the CURLMOPT_TIMERFUNCTION rather than curl_multi_timeout
when using the socket API
Daniel Stenberg [Mon, 30 Jul 2007 21:47:56 +0000 (21:47 +0000)]
less blocking these days
Daniel Stenberg [Mon, 30 Jul 2007 21:47:44 +0000 (21:47 +0000)]
updated based on suggestion from Jeff Pohlmeyer
Daniel Stenberg [Mon, 30 Jul 2007 21:41:12 +0000 (21:41 +0000)]
Patrick Monnerat restored qssl successful compilation and loading
Daniel Stenberg [Mon, 30 Jul 2007 20:07:43 +0000 (20:07 +0000)]
give credit to Greg Zavertnik
Dan Fandrich [Mon, 30 Jul 2007 17:08:26 +0000 (17:08 +0000)]
Properly set USE_SSL on OS/400