Daniel Stenberg [Thu, 2 Jun 2005 11:09:10 +0000 (11:09 +0000)]
William Ahern:
I'm not quite sure how this was happening, but I've been seeing PTR queries
which seem to return empty responses. At least, they were empty when calling
ares_expand_name() on the record. Here's a patch which guarantees to
NUL-terminate the expanded name. The old behavior failed to NUL-terminate if
len was 0, and this was causing strlen() to run past the end of the buffer
after calling ares_expand_name() and getting ARES_SUCCESS as the return
value. If q is not greater than *s then it's equal and *s is always
allocated with at least one byte.
Daniel Stenberg [Wed, 1 Jun 2005 21:30:29 +0000 (21:30 +0000)]
specify the cares lib before the other libs, to make it build fine with mingw
- inspired by Tupone Alfredo's bug report (and patch) #1212940
Daniel Stenberg [Tue, 31 May 2005 13:03:26 +0000 (13:03 +0000)]
Todd Kulesza reported a flaw in the proxy option, since a numerical IPv6
address was not possible to use. It is now, but requires it written
RFC2732-style, within brackets - which incidently is how you enter numerical
IPv6 addresses in URLs. Test case 263 added to verify.
Daniel Stenberg [Tue, 31 May 2005 12:57:21 +0000 (12:57 +0000)]
added keywords
Daniel Stenberg [Sun, 29 May 2005 22:38:34 +0000 (22:38 +0000)]
recent changes
Daniel Stenberg [Sun, 29 May 2005 22:30:48 +0000 (22:30 +0000)]
Eric Cooper reported about a problem with HTTP servers that responds with
binary zeroes within the headers. They confused libcurl to do wrong so the
downloaded headers become incomplete. The fix is now verified with test case
262.
Daniel Stenberg [Fri, 27 May 2005 11:39:07 +0000 (11:39 +0000)]
avoid the sensitive word as it looks bad in some people's eyes
Daniel Stenberg [Fri, 27 May 2005 11:01:41 +0000 (11:01 +0000)]
Andrés García fixed a warning appearing on windows
Daniel Stenberg [Thu, 26 May 2005 20:56:25 +0000 (20:56 +0000)]
provide the proper copyright texts for these
Daniel Stenberg [Wed, 25 May 2005 22:14:32 +0000 (22:14 +0000)]
set LD_LIBRARY_PATH properly even when the openssl lib dir is found using
pkg-config
Daniel Stenberg [Wed, 25 May 2005 22:12:57 +0000 (22:12 +0000)]
silense a warning
Daniel Stenberg [Wed, 25 May 2005 13:07:06 +0000 (13:07 +0000)]
minor rephrase
Daniel Stenberg [Wed, 25 May 2005 12:29:09 +0000 (12:29 +0000)]
output the full usec when --trace-time is used
Daniel Stenberg [Wed, 25 May 2005 12:27:19 +0000 (12:27 +0000)]
no more time/re-start of sockfilt, no more redirect of stdin/stdout when
talking to sockfilt
Daniel Stenberg [Wed, 25 May 2005 12:26:38 +0000 (12:26 +0000)]
added function for individual ftp slave kills
Daniel Stenberg [Wed, 25 May 2005 12:26:20 +0000 (12:26 +0000)]
modified output logging, fixed the ftpslave killing
Daniel Stenberg [Wed, 25 May 2005 12:04:52 +0000 (12:04 +0000)]
utilize the whole usec in the log and don't output to stderr if the logfile
can't be opened
Daniel Stenberg [Wed, 25 May 2005 12:04:24 +0000 (12:04 +0000)]
nicer raw logging and put code into (nicer) functions
Daniel Stenberg [Tue, 24 May 2005 21:09:49 +0000 (21:09 +0000)]
don't restart sockfilt after only 5 seconds of inactivity
Daniel Stenberg [Tue, 24 May 2005 21:02:59 +0000 (21:02 +0000)]
recent action
Daniel Stenberg [Tue, 24 May 2005 10:03:13 +0000 (10:03 +0000)]
Andres Garcia's mode=text patch to make these do fine on Windows
Daniel Stenberg [Tue, 24 May 2005 09:40:58 +0000 (09:40 +0000)]
add test case 261, response code 226 to TYPE
Daniel Stenberg [Tue, 24 May 2005 09:39:56 +0000 (09:39 +0000)]
Now allow TYPE responses to be any 2xx code, and log if it isn't 200.
Daniel Stenberg [Sun, 22 May 2005 17:54:11 +0000 (17:54 +0000)]
removed leftover debug message ("moo moo")
Daniel Stenberg [Sat, 21 May 2005 22:38:19 +0000 (22:38 +0000)]
added keywords
Daniel Stenberg [Fri, 20 May 2005 11:24:55 +0000 (11:24 +0000)]
added -nobuildconf
Daniel Stenberg [Fri, 20 May 2005 11:15:24 +0000 (11:15 +0000)]
keywords added
Daniel Stenberg [Fri, 20 May 2005 11:15:15 +0000 (11:15 +0000)]
shorter name
Daniel Stenberg [Fri, 20 May 2005 11:14:44 +0000 (11:14 +0000)]
sum up
Daniel Stenberg [Fri, 20 May 2005 10:40:32 +0000 (10:40 +0000)]
Add support for text mode on stdout tests as well, and add the mode=text
to the docs.
Daniel Stenberg [Thu, 19 May 2005 09:55:53 +0000 (09:55 +0000)]
include ctype.h for isdigit()
Daniel Stenberg [Thu, 19 May 2005 07:21:18 +0000 (07:21 +0000)]
additional fix for the malformed URL fix of yday
Daniel Stenberg [Thu, 19 May 2005 07:12:16 +0000 (07:12 +0000)]
removed duplicate
Daniel Stenberg [Wed, 18 May 2005 20:02:07 +0000 (20:02 +0000)]
three fixes since 7.14.0
Daniel Stenberg [Wed, 18 May 2005 20:01:01 +0000 (20:01 +0000)]
Bug report #1204435 identified a problem with malformed URLs like
"http://somehost?data" as it added a slash too much in the request ("GET
/?data/"...). Added test case 260 to verify.
Daniel Stenberg [Wed, 18 May 2005 20:00:50 +0000 (20:00 +0000)]
update
Daniel Stenberg [Wed, 18 May 2005 15:15:00 +0000 (15:15 +0000)]
adjusted the strerror_r test more, use _REENTRANT instead of _THREAD_SAFE
when looking for the prototype
Daniel Stenberg [Wed, 18 May 2005 13:24:23 +0000 (13:24 +0000)]
The configure check for strerror_r() failed to detect the proper API at
times, like on my HP-UX 10.20 tests. And then lib/strerror.c badly assumed
the glibc version if the posix define wasn't set (since it _had_ found a
strerror_r).
Daniel Stenberg [Wed, 18 May 2005 10:38:21 +0000 (10:38 +0000)]
#15 is now fixed
Daniel Stenberg [Wed, 18 May 2005 10:14:25 +0000 (10:14 +0000)]
clarified for GnuTLS
Daniel Stenberg [Wed, 18 May 2005 10:12:08 +0000 (10:12 +0000)]
several updates
Daniel Stenberg [Wed, 18 May 2005 10:05:38 +0000 (10:05 +0000)]
ignore resolve too
Daniel Stenberg [Wed, 18 May 2005 10:01:46 +0000 (10:01 +0000)]
use less code and prevent compiler warning
Daniel Stenberg [Wed, 18 May 2005 09:26:57 +0000 (09:26 +0000)]
removed the separate table with download links, and extended the curl site
list with all current mirrors
Daniel Stenberg [Tue, 17 May 2005 12:07:08 +0000 (12:07 +0000)]
scan for gmake and make to prefer gmake on systems that have it
Daniel Stenberg [Tue, 17 May 2005 10:27:11 +0000 (10:27 +0000)]
Made test case 241 precheck that the given name resolves to an ipv6 address,
or the test is skipped. Ideally, we should let this test case go over a few
frequently used IPv6 localhost aliases...
Daniel Stenberg [Tue, 17 May 2005 10:22:22 +0000 (10:22 +0000)]
Moved more generic functions to util.[ch]
Added resolve.c to simply resolve a given host name
Daniel Stenberg [Tue, 17 May 2005 09:18:17 +0000 (09:18 +0000)]
check if getsockname() returns failure before using the address it provides
Daniel Stenberg [Tue, 17 May 2005 09:15:21 +0000 (09:15 +0000)]
reduced typecasts, from two to one
Dominick Meglio [Tue, 17 May 2005 04:20:58 +0000 (04:20 +0000)]
More of the same
Dominick Meglio [Tue, 17 May 2005 04:18:41 +0000 (04:18 +0000)]
More compiler warning cleanups
Daniel Stenberg [Mon, 16 May 2005 22:30:00 +0000 (22:30 +0000)]
bad formatting
Dominick Meglio [Mon, 16 May 2005 19:23:57 +0000 (19:23 +0000)]
Made ares_free_hostent man page refer to ares_parse_aaaa_reply
Dominick Meglio [Mon, 16 May 2005 19:14:25 +0000 (19:14 +0000)]
Cleaned up some compile warnings
Dominick Meglio [Mon, 16 May 2005 18:06:54 +0000 (18:06 +0000)]
Added ares_getnameinfo which mimics the getnameinfo API
Daniel Stenberg [Mon, 16 May 2005 15:09:26 +0000 (15:09 +0000)]
Modified the gmtime_r check to not check for it until the "check for a working
one" is made, and only if that test runs ok we define it as present. Unless
crosscompiling, since then we use the former AC_CHECK_FUNCS method.
Daniel Stenberg [Mon, 16 May 2005 14:53:48 +0000 (14:53 +0000)]
define GMTIME_R to 0 if not working
Daniel Stenberg [Mon, 16 May 2005 14:40:10 +0000 (14:40 +0000)]
attempt to detect a bad (as in HPUX 10.20 bad) gmtime_r function
Daniel Stenberg [Mon, 16 May 2005 13:27:41 +0000 (13:27 +0000)]
start working on 7.14.1
Daniel Stenberg [Mon, 16 May 2005 12:58:41 +0000 (12:58 +0000)]
Version 7.14.0
Daniel Stenberg [Mon, 16 May 2005 07:07:00 +0000 (07:07 +0000)]
return, not exit, on several places
Dominick Meglio [Sun, 15 May 2005 16:31:01 +0000 (16:31 +0000)]
Converted some macros to use NS_* so they work on non-IPv6 systems
Dominick Meglio [Sun, 15 May 2005 04:38:53 +0000 (04:38 +0000)]
Forgot to ares_-ize inet_ntop
Daniel Stenberg [Sat, 14 May 2005 21:15:36 +0000 (21:15 +0000)]
fix warning about redefined symbol
Daniel Stenberg [Sat, 14 May 2005 20:45:49 +0000 (20:45 +0000)]
replaced the CRLF newlines with plain LF ones
Dominick Meglio [Sat, 14 May 2005 18:35:20 +0000 (18:35 +0000)]
Added an inet_ntop function from BIND for systems that do not have it
Gisle Vanem [Sat, 14 May 2005 06:04:21 +0000 (06:04 +0000)]
Updated generated dependencies.
Gisle Vanem [Sat, 14 May 2005 06:00:40 +0000 (06:00 +0000)]
Some patches for (a stricter/smarter) gcc 4.0 and
warnings like:
'x' may be used uninitialized in this function.
Gisle Vanem [Sat, 14 May 2005 05:59:26 +0000 (05:59 +0000)]
'ssize_t' seems to be a gcc 4.x built-in.
Gisle Vanem [Sat, 14 May 2005 05:58:52 +0000 (05:58 +0000)]
Change for systems with >1 ways of setting (non-)blocking
mode. (djgpp/Watt-32 has 3 ways). Should rewrite this using
"#elif ..", but maybe there is still broken cpp around?
Daniel Stenberg [Fri, 13 May 2005 23:00:06 +0000 (23:00 +0000)]
updated
Daniel Stenberg [Fri, 13 May 2005 22:24:50 +0000 (22:24 +0000)]
uses select() instead of poll() even on Mac OS X 10.4
Daniel Stenberg [Fri, 13 May 2005 21:19:21 +0000 (21:19 +0000)]
adjusted the configure to always skip the fine-poll() test on Mac OS X (darwin)
Daniel Stenberg [Thu, 12 May 2005 21:56:26 +0000 (21:56 +0000)]
remove blank lines
Daniel Stenberg [Thu, 12 May 2005 21:49:42 +0000 (21:49 +0000)]
CURLOPT_SSLVERSION clarified
Daniel Stenberg [Thu, 12 May 2005 14:00:27 +0000 (14:00 +0000)]
-z bad use warning and NTLM proxy auth in reconnect fix
Daniel Stenberg [Thu, 12 May 2005 13:44:25 +0000 (13:44 +0000)]
oops, found by bug reported in bug report #1200661
Daniel Stenberg [Thu, 12 May 2005 12:53:02 +0000 (12:53 +0000)]
spell
Daniel Stenberg [Thu, 12 May 2005 08:51:30 +0000 (08:51 +0000)]
typecast to fix warning on 64bit systems
Daniel Stenberg [Thu, 12 May 2005 07:28:03 +0000 (07:28 +0000)]
warn about bad -z syntax
Daniel Stenberg [Wed, 11 May 2005 11:56:04 +0000 (11:56 +0000)]
MatrixSSL and yaSSL are two free libs we _could_ support
Daniel Stenberg [Wed, 11 May 2005 10:23:59 +0000 (10:23 +0000)]
mention the select() error fix as well
Daniel Stenberg [Wed, 11 May 2005 09:56:53 +0000 (09:56 +0000)]
the new HTTP headers
Daniel Stenberg [Wed, 11 May 2005 09:56:10 +0000 (09:56 +0000)]
removed duplicate
Daniel Stenberg [Wed, 11 May 2005 09:52:59 +0000 (09:52 +0000)]
Modified the default HTTP headers used by libcurl:
A) Normal non-proxy HTTP:
- no more "Pragma: no-cache" (this only makes sense to proxies)
B) Non-CONNECT HTTP request over proxy:
- "Pragma: no-cache" is used (like before)
- "Proxy-Connection: Keep-alive" (for older style 1.0-proxies)
C) CONNECT HTTP request over proxy:
- "Host: [name]:[port]"
- "Proxy-Connection: Keep-alive"
Daniel Stenberg [Wed, 11 May 2005 06:47:09 +0000 (06:47 +0000)]
prevent NS_IN6ADDRSZ from getting set to zero if the struct doesn't exist
Daniel Stenberg [Tue, 10 May 2005 23:02:37 +0000 (23:02 +0000)]
Hm, this doesn't feel right. The error bits returned from Curl_select() can
be returned at times when we want to ignore them. Test case 160 fails on Linux,
so I modify the comparison to check for _only_ the error bit set...
Daniel Stenberg [Tue, 10 May 2005 22:48:26 +0000 (22:48 +0000)]
me stupid, errno is not set for mere select()-exceptions
Daniel Stenberg [Tue, 10 May 2005 22:46:24 +0000 (22:46 +0000)]
include protos to fix warnings
Daniel Stenberg [Tue, 10 May 2005 22:44:08 +0000 (22:44 +0000)]
If Curl_select() returns with the error bit set, bail out.
Daniel Stenberg [Tue, 10 May 2005 11:21:57 +0000 (11:21 +0000)]
prevent 64bit warnings
Daniel Stenberg [Tue, 10 May 2005 11:19:12 +0000 (11:19 +0000)]
allow the ares/config.h display to fail
Daniel Stenberg [Mon, 9 May 2005 21:12:03 +0000 (21:12 +0000)]
Jeremy Brown's OpenSSL thread-locking example
Daniel Stenberg [Mon, 9 May 2005 13:57:58 +0000 (13:57 +0000)]
new counter
Daniel Stenberg [Mon, 9 May 2005 13:53:42 +0000 (13:53 +0000)]
Jamie Lokier added. And I now recounted the amount better: 437 named as of now.
Daniel Stenberg [Mon, 9 May 2005 13:26:41 +0000 (13:26 +0000)]
update the "PORTS" section a little
Daniel Stenberg [Mon, 9 May 2005 13:13:38 +0000 (13:13 +0000)]
add multi-thread details for GnuTLS
Daniel Stenberg [Mon, 9 May 2005 12:34:55 +0000 (12:34 +0000)]
new mirror, added amount of contributors
Daniel Stenberg [Mon, 9 May 2005 11:43:23 +0000 (11:43 +0000)]
Jeff is short for Jeffrey
Daniel Stenberg [Mon, 9 May 2005 11:39:20 +0000 (11:39 +0000)]
updated with the current RELEASE-NOTES names