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
Daniel Stenberg
86ff3194fa
added missing part for the qsossl support
2007-07-27 08:33:32 +00:00
Dan Fandrich
48a06d1a7b
Removed unused variable.
2007-07-24 15:23:16 +00:00
Daniel Stenberg
813a1107f4
#if that should be #ifdef
2007-07-23 21:48:27 +00:00
Daniel Stenberg
b3461bab1d
Implemented the parts of Patrick Monnerat's OS/400 patch that introduces
...
support for the OS/400 Secure Sockets Layer library
2007-07-23 21:46:26 +00:00
Dan Fandrich
5ecd56d964
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.
2007-07-23 18:51:22 +00:00
Daniel Stenberg
9af807a5ce
HTTP Digest auth fix on a re-used connection
2007-07-22 10:17:52 +00:00
Dan Fandrich
b465750041
Make the pointers of a few static const arrays const, too, for safety.
2007-07-21 02:08:17 +00:00
Daniel Stenberg
e3377e637a
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
2007-07-20 09:35:58 +00:00
James Housley
2ab854cafd
Fix a loop with PWD
2007-07-20 01:03:49 +00:00
Dan Fandrich
4a2f0fb2be
Made some const arrays static to avoid unnecessary stack usage.
2007-07-20 00:41:12 +00:00
James Housley
ca1356702a
As has been pointed out, err_msg should not be freed here. The actual
...
issue is in libssh2 and not freeing a dynamic error message during cleanup.
2007-07-18 18:31:34 +00:00
Daniel Stenberg
1d728aae2a
Jofell Gallardo posted a libcurl log using FTP that exposed a bug which made
...
a control connection that was deemed "dead" to yet be re-used in a following
request. We must make sure the connection gets closed on this situation.
2007-07-17 20:59:53 +00:00
Gunter Knauf
dab569d76c
make users use the latest OpenSSL and Zlib libraries;
...
added hint to compile with SSPI with MSVC6 without PSDK.
2007-07-15 13:00:39 +00:00
Gunter Knauf
fee4f8c86d
for now unless we do better fixed LIBSSH2_APINO compares to use long constants.
2007-07-14 15:59:01 +00:00
Daniel Stenberg
46c699c483
Colin Hogben filed bug report #1750274
...
(http://curl.haxx.se/bug/view.cgi?id=1750274 ) and submitted a patch for the
case where libcurl did a connect attempt to a non-listening port and didn't
provide a human readable error string back.
2007-07-13 20:17:35 +00:00
Daniel Stenberg
cf5378b366
Daniel Cater made libcurl build with CURL_NO_OLDIES defined (which doesn't
...
define the symbols for backwards source compatibility)
2007-07-13 20:04:53 +00:00
Daniel Stenberg
a67c8b4698
Made the krb5 code build with Heimdal's GSSAPI lib
2007-07-12 21:34:42 +00:00
Daniel Stenberg
cf86f8cb78
Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation
...
could in fact get stuck in an endless loop.
2007-07-12 20:15:38 +00:00
Gunter Knauf
0de56e5535
added nwos.c so that it gets distributed with releases and tarballs.
2007-07-12 10:44:46 +00:00
Daniel Stenberg
d12759c73e
Made CURLOPT_SSL_VERIFYHOST set to 1 acts as described in the documentation:
...
fail to connect if there is no Common Name field found in the remote cert.
We should deprecate the support for this set to 1 anyway soon, since the
feature is pointless and most likely never really used by anyone.
2007-07-11 22:20:46 +00:00
Gunter Knauf
c0095d6dd9
removed now obsolete NETDB_DEFINE_CONTEXT macro calls.
2007-07-11 21:47:31 +00:00
Gunter Knauf
6a88eab067
updated makefile to compile nwos.c.
2007-07-11 21:38:28 +00:00
Gunter Knauf
a4f36558fc
added NetWare-own file to provide some init functions (for now only CLIB);
...
added call to netware_init() in curl_global_init() to make sure it gets called before any library functions get used.
2007-07-11 21:34:22 +00:00
Gunter Knauf
2a1345ae9f
added netdb.h for NetWare CLIB since gethostname() is defined there.
2007-07-11 09:08:03 +00:00
Gunter Knauf
cf61c8d659
fixed endif comment.
2007-07-11 09:03:22 +00:00