Daniel Stenberg
5a79532aee
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.
2007-08-17 20:21:32 +00:00
Gunter Knauf
29ac001aa6
fixed warning about uninitialized.
2007-08-16 15:23:39 +00:00
Gunter Knauf
ccba0d10b6
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.
2007-08-16 14:08:47 +00:00
Gunter Knauf
7f7e42732d
added define PORT_LDAPS.
2007-08-15 16:17:32 +00:00
Patrick Monnerat
ca410ec2ca
Fix a potential buffer overflow bug in lib/version.c
2007-08-15 14:49:16 +00:00
Gunter Knauf
e5d8693865
added ldap_msgfree() to fix memory leak.
2007-08-15 08:18:37 +00:00
Gunter Knauf
46c92c0b80
added a dependency for libcares if build with ares support;
...
other minor makefile tweaks.
2007-08-14 18:39:26 +00:00
Gunter Knauf
327598e7b4
only include LDAP headers if we build with LDAP support.
2007-08-14 16:31:20 +00:00
Gunter Knauf
11caaad5f9
added -lwldap32 to link libs.
2007-08-14 14:48:25 +00:00
Gunter Knauf
3e0845e182
changed autoload dependent LDAP NLM.
2007-08-14 13:01:40 +00:00
Gunter Knauf
a2c7abea6c
trial to enable LDAP support again with patched Novell headers.
2007-08-14 12:02:10 +00:00
Daniel Stenberg
2f8f12e82e
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.
2007-08-14 10:28:21 +00:00
Dan Fandrich
8ee5e95ab1
Removed unused variable.
2007-08-13 16:37:51 +00:00
Patrick Monnerat
22c61d8da6
Simplify and rename internal structure to avoid potential name clash with LDAP header file.
2007-08-13 13:03:08 +00:00
Daniel Stenberg
1b88990cbb
Fixed the LDAP_DEPRECATED #define as suggested by Daniel Johnson, and
...
indented some of the code to curl-style
2007-08-12 22:25:50 +00:00
Gunter Knauf
44dc36cc8f
disable LDAP since we can no longer compile due to header incompatiblities.
2007-08-12 00:48:10 +00:00
Daniel Stenberg
6d3701318d
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.
2007-08-11 21:05:13 +00:00
Daniel Stenberg
d0edb47896
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.
2007-08-11 20:57:54 +00:00
Gunter Knauf
b238e0b1b4
fixed warning with gcc 4.x (hopefully); dynamincally imported UseAccurateCaseForPaths() for CLIB port to be stonetime-compatible (NW 3.x).
2007-08-09 22:33:49 +00:00
Gunter Knauf
3f62bfb61d
fixed a warning which MingW gcc 4.2.1.
2007-08-09 21:05:05 +00:00
Gunter Knauf
1866b95b7f
moved ugly CLIB define to nwos.c.
2007-08-08 20:09:08 +00:00
Dan Fandrich
668c204970
Song Ma noted a zlib memory leak in the illegal compressed header
...
countermeasures code path.
2007-08-08 17:51:40 +00:00
Gunter Knauf
d5ed9f787f
blocked ssize_t define for MingW32.
2007-08-08 16:59:43 +00:00
Patrick Monnerat
259f27b09f
Fix getsockname argument type
...
Improve "universal" alignment type in struct memdebug
2007-08-08 10:37:07 +00:00
Dan Fandrich
c669e1ae45
Fixed torture test for test 509
2007-08-07 18:24:49 +00:00
Gunter Knauf
10203cada9
moved HAVE_LONGLONG from makefiles to config-win32.h.
2007-08-07 17:40:56 +00:00
Patrick Monnerat
ad9cb40b6f
Some #if --> #ifdef
...
undef standard *printf before (re)defining them
2007-08-07 12:44:38 +00:00
Dan Fandrich
2e60ca382d
Fixed some icc compiler warnings.
2007-08-07 00:10:27 +00:00
Daniel Stenberg
26af759732
Patrick Monnerat updated the _FORM_DEBUG-enabled code, and I updated comments
...
based on his comments/suggestions.
2007-08-05 21:33:31 +00:00
Gunter Knauf
87fc4ad919
changed to use libssh2 0.16;
...
fixed link order in case libssh2 is build with zlib.
2007-08-04 23:35:23 +00:00
Daniel Stenberg
1926f4573d
Patrick Monnerat fixed curl_easy_escape() and curlx_strtoll() to work on
...
non-ASCII systems.
2007-08-04 20:47:59 +00:00
Dan Fandrich
7fe65aaf5b
Fixed a couple of compiler warnings.
2007-08-04 16:54:58 +00:00
Dan Fandrich
0d3d84e3ff
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.
2007-08-03 22:46:59 +00:00
Gunter Knauf
4aabbc5ac2
some more makefile fixes/changes.
2007-08-03 14:30:02 +00:00
James Housley
e7a50e37d6
Start adding some expanded error conversion of libssh2 errors.
2007-08-03 13:57:37 +00:00
James Housley
9fa05db83b
The previous commit to force the use of libssh2-0.16 by removing
...
LIBSSH2_APINO
2007-08-03 13:46:59 +00:00
Gunter Knauf
7ed58c4636
changed 'rm -f' to 'del /f' so it works without GnuUtils as Peteris Krumins pointed out; changed to use latest external libs.
2007-08-03 12:53:00 +00:00
Daniel Stenberg
252f16db02
remove left-over partly support for libssh2 0.14
2007-08-03 08:25:28 +00:00
Daniel Stenberg
72f5d6ba46
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.
2007-08-03 08:14:51 +00:00
Daniel Stenberg
5ec786b02e
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.
2007-08-02 20:10:28 +00:00
Dan Fandrich
035ee257c8
Fixed a compiler warning.
2007-08-02 19:23:35 +00:00
Daniel Stenberg
188b08ca55
Patrick Monnerat's cleanup fix after my alloc-strings commit
2007-08-02 14:42:16 +00:00
Daniel Stenberg
6f750f3b57
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!
2007-08-02 14:09:08 +00:00
Daniel Stenberg
59c16a570f
argh, Greg Morse pointed out that the NTLM POST fix only worked if VERBOSE
...
was set, this should make it work for all cases!
2007-08-02 11:34:50 +00:00
Daniel Stenberg
50c10aa5bf
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.
2007-08-01 21:20:01 +00:00
Daniel Stenberg
006878686c
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)
2007-08-01 12:58:04 +00:00
Daniel Stenberg
f01c6e51f4
Patrick Monnerat restored qssl successful compilation and loading
2007-07-30 21:41:12 +00:00
Dan Fandrich
de55038e33
Properly set USE_SSL on OS/400
2007-07-30 17:08:26 +00:00
Dan Fandrich
ea908c23ae
Fixed compiler warning on non-SSL builds
2007-07-30 17:05:39 +00:00
Daniel Stenberg
f1fa7b8ba4
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.
2007-07-29 12:54:05 +00:00