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.
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 [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.
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 [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: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 [Sun, 29 Jul 2007 12:54:05 +0000 (12:54 +0000)]
Bug report #1759542 (http://curl.haxx.se/bug/view.cgi?id=1759542). A bad use
of a socket after it has been closed, when the FTP-SSL data connection is taken
down.
Dan Fandrich [Mon, 23 Jul 2007 18:51:22 +0000 (18:51 +0000)]
Implemented only the parts of Patrick Monnerat's OS/400 patch that renamed
some few internal identifiers to avoid conflicts, which could be useful on
other platforms.
Daniel Stenberg [Sat, 21 Jul 2007 21:48:58 +0000 (21:48 +0000)]
To allow more flexibility in FTP test cases, I've removed the enforced states
from the test server code as they served no real purpose. The test server is
here to serve for the test cases, not to attempt to function as a real server!
Daniel Stenberg [Fri, 20 Jul 2007 09:35:58 +0000 (09:35 +0000)]
Ralf S. Engelschall filed bug report #1757328
(http://curl.haxx.se/bug/view.cgi?id=1757328) and submitted a patch. It turns
out we broke login to FTP servers that don't require (nor understand) PASS
after the USER command