Yang Tse [Tue, 23 Oct 2007 10:14:24 +0000 (10:14 +0000)]
Fix compiler warning: subscript has type `char'
Gunter Knauf [Mon, 22 Oct 2007 23:31:40 +0000 (23:31 +0000)]
removed dependency on gettimeofday() since we use only 1 sec resolution here.
Daniel Stenberg [Mon, 22 Oct 2007 15:07:29 +0000 (15:07 +0000)]
removed 105, it is now assumed to be fixed!
105 - "invalid free after an http redirect to ftp"
Daniel Stenberg [Mon, 22 Oct 2007 15:05:35 +0000 (15:05 +0000)]
Michal Marek forwarded the bug report
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to
FTP that caused memory havoc. His work together with my efforts created two
fixes:
#1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with
at connection cleanup, at which time the struct HandleData could be
used by another connection.
Also, the unused char *urlpath member is removed from struct FTP.
#2 - provide a Curl_reset_reqproto() function that frees
data->reqdata.proto.* on connection setup if needed (that is if the
SessionHandle was used by a different connection).
Daniel Stenberg [Mon, 22 Oct 2007 14:48:25 +0000 (14:48 +0000)]
Removed 93 and 100, there's no work on these and they're not critical in any
way:
93 - Digest for IIS fix (subject for removal)
100 - icc segmentation faults (subject for removal)
Daniel Stenberg [Mon, 22 Oct 2007 10:23:25 +0000 (10:23 +0000)]
#103 is fixed
Daniel Stenberg [Mon, 22 Oct 2007 09:28:42 +0000 (09:28 +0000)]
mention Patrick Monnerat's recent work on the postfields problems
Daniel Stenberg [Mon, 22 Oct 2007 09:25:45 +0000 (09:25 +0000)]
Bug report #1815530 (curl.haxx.se/bug/view.cgi?id=1815530) points out
that specifying a proxy with a trailing slash didn't work (unless it also
contained a port number).
Gunter Knauf [Sat, 20 Oct 2007 21:06:24 +0000 (21:06 +0000)]
Mohun Biswas sent a patch to fix generated MSVC8 makefiles.
Yang Tse [Sat, 20 Oct 2007 15:47:16 +0000 (15:47 +0000)]
We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.
Yang Tse [Sat, 20 Oct 2007 15:11:51 +0000 (15:11 +0000)]
Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits
Yang Tse [Fri, 19 Oct 2007 16:15:42 +0000 (16:15 +0000)]
Add custom check for WINLDAP libraries.
In CURL_CHECK_LIBS_WINLDAP and CURL_CHECK_LIBS_LDAP, check first with no
additional library even when the optional list of libraries has been given.
Yang Tse [Fri, 19 Oct 2007 12:15:00 +0000 (12:15 +0000)]
Fix message shown when detecting icc version
Yang Tse [Fri, 19 Oct 2007 10:52:28 +0000 (10:52 +0000)]
Avoid shadowing a global declaration
Yang Tse [Thu, 18 Oct 2007 17:31:19 +0000 (17:31 +0000)]
Renamed a variable to avoid shadowing a global declaration
Yang Tse [Thu, 18 Oct 2007 17:17:18 +0000 (17:17 +0000)]
Renamed internal function to avoid a variable shadowing it
Yang Tse [Thu, 18 Oct 2007 16:24:14 +0000 (16:24 +0000)]
Fix compiler warning: feupdateenv is not implemented and will always fail.
Specifically for linux x86-64 with Intel's icc.
Yang Tse [Thu, 18 Oct 2007 15:11:51 +0000 (15:11 +0000)]
Sync PLATFORM_AIX_V3 detection and CURL_CC_DEBUG_OPTS()
icc warning level with libcurl's
Patrick Monnerat [Thu, 18 Oct 2007 10:54:49 +0000 (10:54 +0000)]
Allow CURLOPT_COPYPOSTFIELDS with explicit data size = 0
Dan Fandrich [Thu, 18 Oct 2007 01:04:57 +0000 (01:04 +0000)]
Avoid a NULL pointer dereference in an OOM condition.
Yang Tse [Thu, 18 Oct 2007 01:01:20 +0000 (01:01 +0000)]
Fix compiler warning: conversion from "int" to "unsigned char"
may lose significant bits
Yang Tse [Wed, 17 Oct 2007 19:29:06 +0000 (19:29 +0000)]
Fix overflow detection, take four. Avoiding zero size malloc.
Yang Tse [Wed, 17 Oct 2007 18:47:01 +0000 (18:47 +0000)]
Fix CURL_CHECK_LIBS_LDAP failure when no parameter is given
Yang Tse [Wed, 17 Oct 2007 18:18:27 +0000 (18:18 +0000)]
actually sync with lib/setup_once.h
Yang Tse [Wed, 17 Oct 2007 18:06:32 +0000 (18:06 +0000)]
Fix overflow detection, thanks to Patrick Monnerat detecting test
failure condition: http://curl.haxx.se/mail/lib-2007-10/0152.html
Yang Tse [Wed, 17 Oct 2007 16:59:24 +0000 (16:59 +0000)]
sync with lib/setup_once.h
Yang Tse [Wed, 17 Oct 2007 16:58:32 +0000 (16:58 +0000)]
We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.
Yang Tse [Wed, 17 Oct 2007 13:08:10 +0000 (13:08 +0000)]
Default check for more libraries in CURL_CHECK_LIBS_LDAP,
and allow parameter specification of libraries to check.
Yang Tse [Wed, 17 Oct 2007 00:44:48 +0000 (00:44 +0000)]
Fix compiler warning: signed and unsigned type in conditional expression
Yang Tse [Wed, 17 Oct 2007 00:10:00 +0000 (00:10 +0000)]
Fix compiler warning: comparison between signed and unsigned
Yang Tse [Tue, 16 Oct 2007 23:32:02 +0000 (23:32 +0000)]
ANSI C compliant overflow check
Steinar H. Gunderson [Tue, 16 Oct 2007 21:27:51 +0000 (21:27 +0000)]
Fix a bug where fallback from AF_INET6 to AF_INET would not work properly together with relative search; if you had a search path of .a.com and .b.com, and foo.a.com would return ARES_ENODATA and foo.b.com would return ARES_ENOTFOUND, the lookup would not properly retry with AF_INET as it forgot the first ARES_ENODATA.
Dan Fandrich [Tue, 16 Oct 2007 18:09:57 +0000 (18:09 +0000)]
Fixed compiler warning re: unused variable `bigsize'
Yang Tse [Mon, 15 Oct 2007 23:58:11 +0000 (23:58 +0000)]
Avoid depending on a header file for the definition of NULL
Dan Fandrich [Mon, 15 Oct 2007 21:19:40 +0000 (21:19 +0000)]
Mention first version with CURLOPT_COPYPOSTFIELDS.
Don't confuse NUL with NULL.
Dan Fandrich [Mon, 15 Oct 2007 21:03:40 +0000 (21:03 +0000)]
Updated minimum libcurl size
Patrick Monnerat [Mon, 15 Oct 2007 18:32:01 +0000 (18:32 +0000)]
Fix dynamic CURLOPT_POSTFIELDS bug: back to static.
CURLOPT_COPYPOSTFIELDS option added for dynamic.
Fix some OS400 features.
Dan Fandrich [Mon, 15 Oct 2007 16:24:46 +0000 (16:24 +0000)]
Fix LDAP compile error when LDAP is not available.
Fixed a typo in the LDAP configure code and made sure NULL is defined
in a test programs that need it.
Yang Tse [Sun, 14 Oct 2007 23:47:15 +0000 (23:47 +0000)]
Fix custom check for LDAP libraries
Yang Tse [Sun, 14 Oct 2007 21:25:10 +0000 (21:25 +0000)]
Add custom check for LDAP libraries
Yang Tse [Sun, 14 Oct 2007 02:37:04 +0000 (02:37 +0000)]
Add custom checks for lber, ldap, ldapssl and ldap_ssl header files
Daniel Stenberg [Sat, 13 Oct 2007 20:49:51 +0000 (20:49 +0000)]
Chris Leighton:
My understanding is that we use "number" for discrete variables and
"amount" for continuous variables.
So you can say "The amount of flour required depends on..." or, "Last
night I consumed a large amount of beer!".
And, "That tank contains a large number of fish" or, "Over the week I
consumed a number of cases of beer."
I think that features are discrete, so the man page would read "...the
number of features will make your head spin!".
Yang Tse [Sat, 13 Oct 2007 14:23:15 +0000 (14:23 +0000)]
Add check for winldap and winber header files
Dan Fandrich [Sat, 13 Oct 2007 00:47:53 +0000 (00:47 +0000)]
Made a few more functions static with the protocol handler table in place.
Daniel Stenberg [Fri, 12 Oct 2007 20:53:43 +0000 (20:53 +0000)]
another Curl_handler fix, the #ifdefs got a bit mixed up...
Dan Fandrich [Fri, 12 Oct 2007 18:49:14 +0000 (18:49 +0000)]
Fixed a few compile errors and warnings.
Daniel Stenberg [Fri, 12 Oct 2007 15:26:33 +0000 (15:26 +0000)]
added three serious bugs to fix before release, and marked the previous two
as subject for removal from this list (without any fix)
Patrick Monnerat [Fri, 12 Oct 2007 13:36:37 +0000 (13:36 +0000)]
Added per-protocol callback static tables, replacing callback ptr storage
in the connectdata structure by a single handler table ptr.
Dan Fandrich [Fri, 12 Oct 2007 02:09:45 +0000 (02:09 +0000)]
Fixed a couple of typos that messed up the tests.
Dan Fandrich [Fri, 12 Oct 2007 01:44:22 +0000 (01:44 +0000)]
Added some <keywords> sections and use some key words more consistently.
Dan Fandrich [Thu, 11 Oct 2007 21:15:09 +0000 (21:15 +0000)]
Fixed the -l option of runtests.pl
Added support for skipping tests based on key words.
Yang Tse [Wed, 10 Oct 2007 13:00:11 +0000 (13:00 +0000)]
improve checking for ldap.h and ldap_ssl.h header files
Yang Tse [Tue, 9 Oct 2007 23:51:55 +0000 (23:51 +0000)]
lber.h needs to be included since ldap.h might not include it
Yang Tse [Tue, 9 Oct 2007 23:44:14 +0000 (23:44 +0000)]
Add check for lber.h and ldap.h header files
Gunter Knauf [Tue, 9 Oct 2007 23:25:58 +0000 (23:25 +0000)]
added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code.
Yang Tse [Tue, 9 Oct 2007 23:24:28 +0000 (23:24 +0000)]
also log error message string
Yang Tse [Tue, 9 Oct 2007 23:21:29 +0000 (23:21 +0000)]
logmsg already appends '\n'
Gunter Knauf [Tue, 9 Oct 2007 22:10:17 +0000 (22:10 +0000)]
fix socklen_t for MSVC6 & 7.
Gunter Knauf [Tue, 9 Oct 2007 20:15:27 +0000 (20:15 +0000)]
added two more module dependencies for LDAPS.
Dan Fandrich [Tue, 9 Oct 2007 16:49:41 +0000 (16:49 +0000)]
Documented error codes 77-80, and fixed the one for 60.
Daniel Stenberg [Tue, 9 Oct 2007 14:53:50 +0000 (14:53 +0000)]
Add a paragraph about CURLOPT_CUSTOMREQUEST not actually changing libcurl's
behavior, it only changes the actual request method keyword and this is not
always what the user/app wants.
Daniel Stenberg [Tue, 9 Oct 2007 08:42:50 +0000 (08:42 +0000)]
Michal Marek removed the no longer existing return codes from the curl.1
man page.
Gisle Vanem [Mon, 8 Oct 2007 14:39:52 +0000 (14:39 +0000)]
Added needed 'HAVE_*' defines.
Gisle Vanem [Mon, 8 Oct 2007 14:38:51 +0000 (14:38 +0000)]
'FD_CLOXEC' is meaningless on MSDOS/Watt-32.
Daniel Stenberg [Sun, 7 Oct 2007 08:28:03 +0000 (08:28 +0000)]
Known bug #47, which confused libcurl if doing NTLM auth over a proxy with
a response that was larger than 16KB is now improved slightly so that now
the restriction at 16KB is for the headers only and it should be a rare
situation where the response-headers exceed 16KB. Thus, I consider #47 fixed
and the header limitation is now known as known bug #48.
Gisle Vanem [Sat, 6 Oct 2007 17:20:06 +0000 (17:20 +0000)]
<ws2tcpip.h> needed for 'socklen_t' typedef.
Daniel Stenberg [Fri, 5 Oct 2007 15:18:34 +0000 (15:18 +0000)]
add url to the wikipedia article for a longer description
Daniel Stenberg [Fri, 5 Oct 2007 15:16:18 +0000 (15:16 +0000)]
Alexey Pesternikov documented CURLOPT_OPENSOCKETDATA and
CURLOPT_OPENSOCKETFUNCTION
Daniel Stenberg [Fri, 5 Oct 2007 14:37:33 +0000 (14:37 +0000)]
Michael Wallner made the CULROPT_COOKIELIST option support a new magic
string: "FLUSH". Using that will cause libcurl to flush its cookies to the
CURLOPT_COOKIEJAR file.
Daniel Stenberg [Thu, 4 Oct 2007 22:05:25 +0000 (22:05 +0000)]
The new file docs/libcurl/ABI describes how we view ABI breakages, soname
bumps and what the version number's significance to all that is.
Daniel Stenberg [Thu, 4 Oct 2007 21:26:26 +0000 (21:26 +0000)]
I enabled test 1009 and made the --local-port use a wide range to reduce the
risk of failures.
Daniel Stenberg [Thu, 4 Oct 2007 10:01:41 +0000 (10:01 +0000)]
Kim Rinnewitz reported that --local-port didn't work with TFTP transfers.
This happened because the tftp code always uncondionally did a bind()
without caring if one already had been done and then it failed. I wrote a
test case (1009) to verify this, but it is a bit error-prone since it will
have to pick a fixed local port number and since the tests are run on so
many different hosts in different situations I add it in disabled state.
Steinar H. Gunderson [Thu, 4 Oct 2007 08:12:12 +0000 (08:12 +0000)]
Removed a piece of redundant code (process_answer already takes care of it).
Steinar H. Gunderson [Thu, 4 Oct 2007 08:09:52 +0000 (08:09 +0000)]
Another timeout fix in ares_getnameinfo().
Steinar H. Gunderson [Thu, 4 Oct 2007 08:09:04 +0000 (08:09 +0000)]
Send the timeout count in ares_getnameinfo().
Steinar H. Gunderson [Thu, 4 Oct 2007 08:07:47 +0000 (08:07 +0000)]
Moved the NULL check for channel upwards in ares_destroy().
Steinar H. Gunderson [Thu, 4 Oct 2007 08:06:25 +0000 (08:06 +0000)]
Clarified the comment over ares_cancel.
Yang Tse [Thu, 4 Oct 2007 02:09:33 +0000 (02:09 +0000)]
On error, close "log/server.response"
Yang Tse [Wed, 3 Oct 2007 23:38:07 +0000 (23:38 +0000)]
If TCP_NODELAY is not defined we can't disable the Nagle algorithm
Yang Tse [Wed, 3 Oct 2007 16:58:10 +0000 (16:58 +0000)]
Cleanup no longer used macros
Yang Tse [Wed, 3 Oct 2007 16:26:56 +0000 (16:26 +0000)]
Fix compiler warning: local variable may be used without having been initialized
Patrick Monnerat [Wed, 3 Oct 2007 15:09:21 +0000 (15:09 +0000)]
Upgrade OS400 wrappers and RPG copy file according to latest code updates
Yang Tse [Wed, 3 Oct 2007 13:19:34 +0000 (13:19 +0000)]
Fix issue related with the use of ares_timeout() result.
Daniel Stenberg [Wed, 3 Oct 2007 08:58:40 +0000 (08:58 +0000)]
exported symbols must use lowercase "curl_", and I also fixed two compiler
warnings, one C99 thing and the bad pointer sent to the callback
Daniel Stenberg [Wed, 3 Oct 2007 08:54:35 +0000 (08:54 +0000)]
recount contributors after the 7.17.0 release
Daniel Stenberg [Wed, 3 Oct 2007 08:51:36 +0000 (08:51 +0000)]
people from the 7.17.0 announcement
Daniel Stenberg [Wed, 3 Oct 2007 08:46:45 +0000 (08:46 +0000)]
"97 - check ip callback", check
Daniel Stenberg [Wed, 3 Oct 2007 08:45:00 +0000 (08:45 +0000)]
Alexey Pesternikov introduced CURLOPT_OPENSOCKETFUNCTION and
CURLOPT_OPENSOCKETDATA to set a callback that allows an application to replace
the socket() call used by libcurl. It basically allows the app to change
address, protocol or whatever of the socket. (I also did some whitespace
indent/cleanups in lib/url.c which kind of hides some of these changes, sorry
for mixing those in.)
Daniel Stenberg [Wed, 3 Oct 2007 08:07:50 +0000 (08:07 +0000)]
I renamed the CURLE_SSL_PEER_CERTIFICATE error code to
CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this
return code get used by the previous SSH MD5 fingerprint check in case it
fails.
Daniel Stenberg [Wed, 3 Oct 2007 08:00:42 +0000 (08:00 +0000)]
Based on a patch brought by Johnny Luong, libcurl now offers
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make
the SCP or SFTP connection verify the remote host's md5 checksum of the public
key before doing a connect, to reduce the risk of a man-in-the-middle attack.
Daniel Stenberg [Tue, 2 Oct 2007 22:00:03 +0000 (22:00 +0000)]
"99 - curl_easy_close()" seems to have gone uninteresting
Daniel Stenberg [Tue, 2 Oct 2007 21:59:06 +0000 (21:59 +0000)]
102, check
Yang Tse [Tue, 2 Oct 2007 19:19:47 +0000 (19:19 +0000)]
Fix memory leak under low memory conditions.
Yang Tse [Tue, 2 Oct 2007 18:26:48 +0000 (18:26 +0000)]
Avoid a segfault when generating a DNS "Transaction ID" in internal
function init_id_key() under low memory conditions.
Yang Tse [Tue, 2 Oct 2007 16:05:28 +0000 (16:05 +0000)]
Renamed a couple of global variables to avoid shadowing warnings
Yang Tse [Tue, 2 Oct 2007 15:26:30 +0000 (15:26 +0000)]
Fix compiler warning
Yang Tse [Tue, 2 Oct 2007 14:48:38 +0000 (14:48 +0000)]
<winber.h> needed for Windows LDAP client 32 API support
Yang Tse [Tue, 2 Oct 2007 14:26:04 +0000 (14:26 +0000)]
Linking with wldap32.lib needed for Windows LDAP client 32 API support
Yang Tse [Tue, 2 Oct 2007 11:13:58 +0000 (11:13 +0000)]
Add ares_llist.c and ares_llist.h to MSCV project file.
Daniel Stenberg [Tue, 2 Oct 2007 10:21:36 +0000 (10:21 +0000)]
known bug #46: chunked-encoded CONNECT responses from a http proxy now works.
Added test case 1008 to verify. Note that #47 is still there.