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 (http://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.
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 [Wed, 22 Aug 2007 22:48:41 +0000 (22:48 +0000)]
Bug report #1779751 (http://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.
Daniel Stenberg [Wed, 22 Aug 2007 14:18:06 +0000 (14:18 +0000)]
Bug report #1779054 (http://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 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 [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 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 [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....
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: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 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 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.
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 [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.
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 [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.