Daniel Stenberg [Thu, 7 Jul 2005 05:43:04 +0000 (05:43 +0000)]
mention the exception only once ;-)
Daniel Stenberg [Tue, 5 Jul 2005 22:07:34 +0000 (22:07 +0000)]
correction for the 407 with response-body case
Gisle Vanem [Tue, 5 Jul 2005 18:07:55 +0000 (18:07 +0000)]
Update copyright.
Daniel Stenberg [Tue, 5 Jul 2005 14:57:41 +0000 (14:57 +0000)]
Gisle Vanem came up with a nice little work-around for bug #1230118. It
seems the Windows (MSVC) libc time functions may return data one hour off if
TZ is not set and automatic DST adjustment is enabled. This made
curl_getdate() return wrong value, and it also concerned internal cookie
expirations etc.
Daniel Stenberg [Mon, 4 Jul 2005 21:53:02 +0000 (21:53 +0000)]
mention the strerror_r detection fix in configure
Daniel Stenberg [Sun, 3 Jul 2005 22:25:15 +0000 (22:25 +0000)]
Andrew Bushnell provided enough info for me to tell that we badly needed to
fix the CONNECT authentication code with multi-pass auth methods (such as
NTLM) as it didn't previously properly ignore response-bodies - in fact it
stopped reading after all response headers had been received. This could
lead to libcurl sending the next request and reading the body from the first
request as response to the second request. (I also renamed the function,
which wasn't strictly necessary but...)
The best fix would to once and for all make the CONNECT code use the
ordinary request sending/receiving code, treating it as any ordinary request
instead of the special-purpose function we have now. It should make it
better for multi-interface too. And possibly lead to less code...
Added test case 265 for this. It doesn't work as a _really_ good test case
since the test proxy is too stupid, but the test case helps when running the
debugger to verify.
Daniel Stenberg [Thu, 30 Jun 2005 14:07:52 +0000 (14:07 +0000)]
add more info when this script gets confused, and added getaddrinfo and
freeaddrinfo to the trace output
Daniel Stenberg [Thu, 30 Jun 2005 13:30:23 +0000 (13:30 +0000)]
use %p to printf pointers since %x doesn't work properly on tru64 for this
(and besides, we should be using the same %-code for all pointers)
Daniel Stenberg [Thu, 30 Jun 2005 13:28:58 +0000 (13:28 +0000)]
enable memory debugging on tru64 with ipv6 support by doing a little different
defining, since the system headers themselves redefine getaddrinfo
Dan Fandrich [Thu, 30 Jun 2005 04:53:05 +0000 (04:53 +0000)]
Detect (or at least infer) glibc-style strerror_r even when cross-compiling.
Daniel Stenberg [Tue, 28 Jun 2005 09:08:52 +0000 (09:08 +0000)]
new Lua binding
Daniel Stenberg [Sun, 26 Jun 2005 10:08:08 +0000 (10:08 +0000)]
clarify that ftp ascii transfers don't do right in current libcurl
Daniel Stenberg [Thu, 23 Jun 2005 23:07:07 +0000 (23:07 +0000)]
added docs about the new proxy string support
Daniel Stenberg [Wed, 22 Jun 2005 22:31:08 +0000 (22:31 +0000)]
David Shaw fixes
Daniel Stenberg [Wed, 22 Jun 2005 22:30:52 +0000 (22:30 +0000)]
mention more ARMs
Daniel Stenberg [Wed, 22 Jun 2005 22:24:47 +0000 (22:24 +0000)]
verify that the URL decoding is done properly too
Daniel Stenberg [Wed, 22 Jun 2005 22:24:10 +0000 (22:24 +0000)]
David Shaw's fix that unifies proxy string treatment so that a proxy given
with CURLOPT_PROXY can use a http:// prefix and user + password. The user
and password fields are now also URL decoded properly.
Test case 264 added to verify.
Daniel Stenberg [Wed, 22 Jun 2005 06:58:11 +0000 (06:58 +0000)]
David Shaw's updated version:
It now properly handles code that uses curl_free() (since not all versions of
curl have it), and also fixes a few problems when detecting libcurl on MinGW,
and a linker problem on OSX Panther.
Daniel Stenberg [Mon, 20 Jun 2005 22:32:45 +0000 (22:32 +0000)]
mistake
Daniel Stenberg [Sun, 19 Jun 2005 21:38:45 +0000 (21:38 +0000)]
possible windows memory leak fixed by Gisle
Dominick Meglio [Sun, 19 Jun 2005 16:58:40 +0000 (16:58 +0000)]
Added some checks for the addrinfo structure.
Gisle Vanem [Tue, 14 Jun 2005 14:47:21 +0000 (14:47 +0000)]
Ensure thread handle is closed too.
Daniel Stenberg [Mon, 13 Jun 2005 18:33:40 +0000 (18:33 +0000)]
4.13 Why is curl -R on Windows one hour off?
Daniel Stenberg [Mon, 13 Jun 2005 11:20:51 +0000 (11:20 +0000)]
recent buildconf fiddling
Daniel Stenberg [Mon, 13 Jun 2005 10:49:14 +0000 (10:49 +0000)]
run libtoolize in the ares dir as well, and modified the output slightly for
all tools run in the ares dir - now shown like "running ares/[tool]"
Daniel Stenberg [Sat, 11 Jun 2005 22:04:41 +0000 (22:04 +0000)]
CURLINFO_FILETIME returns the time for GMT
Daniel Stenberg [Thu, 9 Jun 2005 22:43:13 +0000 (22:43 +0000)]
make sure the found tool is a regular file (and not a dir or something)
Daniel Stenberg [Thu, 9 Jun 2005 06:45:54 +0000 (06:45 +0000)]
Modified to use 'head -n 1' instead of 'head -1' since some versions of head
complains and claims this is deprecated.
Daniel Stenberg [Tue, 7 Jun 2005 23:00:06 +0000 (23:00 +0000)]
Reverted Tupone Alfredo's patch, as it broke NUMEROUS autobuilds. Let's do the
changes in a slower and more controlled manner...
Daniel Stenberg [Mon, 6 Jun 2005 21:19:04 +0000 (21:19 +0000)]
Tupone Alfredo's fixes:
1) findtool does look per tool in PATH and think ./perl is the perl
executable, while is just a local directory (I have . in the PATH)
2) I got several warning for head -1 deprecated in favour of head -n 1
3) ares directory is missing some file (missing is missing :-) ) because
automake and friends is not run.
(Let's hope number 2 doesn't break somewhere "out there", if so we can always
search/replace that back.)
Daniel Stenberg [Fri, 3 Jun 2005 21:38:40 +0000 (21:38 +0000)]
first rough version
Daniel Stenberg [Fri, 3 Jun 2005 14:06:03 +0000 (14:06 +0000)]
Andres Garcia's text mode fix for the 'data' part
Daniel Stenberg [Fri, 3 Jun 2005 07:39:18 +0000 (07:39 +0000)]
FIONBIO is in sys/ioctl.h on AIX
Daniel Stenberg [Thu, 2 Jun 2005 21:10:21 +0000 (21:10 +0000)]
sigh, define TRUE if not already
Daniel Stenberg [Thu, 2 Jun 2005 11:58:04 +0000 (11:58 +0000)]
William Ahern:
Make UDP sockets non-blocking. I've confirmed that at least on Linux 2.4 a
read event can come back from poll() on a valid SOCK_DGRAM socket but
recv(2) will still block. This patch doesn't ignore EAGAIN in
read_udp_packets(), though maybe it should. (This patch was edited by Daniel
Stenberg and a new configure test was added (imported from curl's configure)
to properly detect what non-blocking socket approach to use.)
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