platform/upstream/curl.git
19 years agoverify that the URL decoding is done properly too
Daniel Stenberg [Wed, 22 Jun 2005 22:24:47 +0000 (22:24 +0000)]
verify that the URL decoding is done properly too

19 years agoDavid Shaw's fix that unifies proxy string treatment so that a proxy given
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.

19 years agoDavid Shaw's updated version:
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.

19 years agomistake
Daniel Stenberg [Mon, 20 Jun 2005 22:32:45 +0000 (22:32 +0000)]
mistake

19 years agopossible windows memory leak fixed by Gisle
Daniel Stenberg [Sun, 19 Jun 2005 21:38:45 +0000 (21:38 +0000)]
possible windows memory leak fixed by Gisle

19 years agoAdded some checks for the addrinfo structure.
Dominick Meglio [Sun, 19 Jun 2005 16:58:40 +0000 (16:58 +0000)]
Added some checks for the addrinfo structure.

19 years agoEnsure thread handle is closed too.
Gisle Vanem [Tue, 14 Jun 2005 14:47:21 +0000 (14:47 +0000)]
Ensure thread handle is closed too.

19 years ago4.13 Why is curl -R on Windows one hour off?
Daniel Stenberg [Mon, 13 Jun 2005 18:33:40 +0000 (18:33 +0000)]
4.13 Why is curl -R on Windows one hour off?

19 years agorecent buildconf fiddling
Daniel Stenberg [Mon, 13 Jun 2005 11:20:51 +0000 (11:20 +0000)]
recent buildconf fiddling

19 years agorun libtoolize in the ares dir as well, and modified the output slightly for
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]"

19 years agoCURLINFO_FILETIME returns the time for GMT
Daniel Stenberg [Sat, 11 Jun 2005 22:04:41 +0000 (22:04 +0000)]
CURLINFO_FILETIME returns the time for GMT

19 years agomake sure the found tool is a regular file (and not a dir or something)
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)

19 years agoModified to use 'head -n 1' instead of 'head -1' since some versions of head
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.

19 years agoReverted Tupone Alfredo's patch, as it broke NUMEROUS autobuilds. Let's do the
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...

19 years agoTupone Alfredo's fixes:
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.)

19 years agofirst rough version
Daniel Stenberg [Fri, 3 Jun 2005 21:38:40 +0000 (21:38 +0000)]
first rough version

19 years agoAndres Garcia's text mode fix for the 'data' part
Daniel Stenberg [Fri, 3 Jun 2005 14:06:03 +0000 (14:06 +0000)]
Andres Garcia's text mode fix for the 'data' part

19 years agoFIONBIO is in sys/ioctl.h on AIX
Daniel Stenberg [Fri, 3 Jun 2005 07:39:18 +0000 (07:39 +0000)]
FIONBIO is in sys/ioctl.h on AIX

19 years agosigh, define TRUE if not already
Daniel Stenberg [Thu, 2 Jun 2005 21:10:21 +0000 (21:10 +0000)]
sigh, define TRUE if not already

19 years agoWilliam Ahern:
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.)

19 years agoWilliam Ahern:
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.

19 years agospecify the cares lib before the other libs, to make it build fine with mingw
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

19 years agoTodd Kulesza reported a flaw in the proxy option, since a numerical IPv6
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.

19 years agoadded keywords
Daniel Stenberg [Tue, 31 May 2005 12:57:21 +0000 (12:57 +0000)]
added keywords

19 years agorecent changes
Daniel Stenberg [Sun, 29 May 2005 22:38:34 +0000 (22:38 +0000)]
recent changes

19 years agoEric Cooper reported about a problem with HTTP servers that responds with
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.

19 years agoavoid the sensitive word as it looks bad in some people's eyes
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

19 years agoAndrés García fixed a warning appearing on windows
Daniel Stenberg [Fri, 27 May 2005 11:01:41 +0000 (11:01 +0000)]
Andrés García fixed a warning appearing on windows

19 years agoprovide the proper copyright texts for these
Daniel Stenberg [Thu, 26 May 2005 20:56:25 +0000 (20:56 +0000)]
provide the proper copyright texts for these

19 years agoset LD_LIBRARY_PATH properly even when the openssl lib dir is found using
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

19 years agosilense a warning
Daniel Stenberg [Wed, 25 May 2005 22:12:57 +0000 (22:12 +0000)]
silense a warning

19 years agominor rephrase
Daniel Stenberg [Wed, 25 May 2005 13:07:06 +0000 (13:07 +0000)]
minor rephrase

19 years agooutput the full usec when --trace-time is used
Daniel Stenberg [Wed, 25 May 2005 12:29:09 +0000 (12:29 +0000)]
output the full usec when --trace-time is used

19 years agono more time/re-start of sockfilt, no more redirect of stdin/stdout when
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

19 years agoadded function for individual ftp slave kills
Daniel Stenberg [Wed, 25 May 2005 12:26:38 +0000 (12:26 +0000)]
added function for individual ftp slave kills

19 years agomodified output logging, fixed the ftpslave killing
Daniel Stenberg [Wed, 25 May 2005 12:26:20 +0000 (12:26 +0000)]
modified output logging, fixed the ftpslave killing

19 years agoutilize the whole usec in the log and don't output to stderr if the logfile
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

19 years agonicer raw logging and put code into (nicer) functions
Daniel Stenberg [Wed, 25 May 2005 12:04:24 +0000 (12:04 +0000)]
nicer raw logging and put code into (nicer) functions

19 years agodon't restart sockfilt after only 5 seconds of inactivity
Daniel Stenberg [Tue, 24 May 2005 21:09:49 +0000 (21:09 +0000)]
don't restart sockfilt after only 5 seconds of inactivity

19 years agorecent action
Daniel Stenberg [Tue, 24 May 2005 21:02:59 +0000 (21:02 +0000)]
recent action

19 years agoAndres Garcia's mode=text patch to make these do fine on Windows
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

19 years agoadd test case 261, response code 226 to TYPE
Daniel Stenberg [Tue, 24 May 2005 09:40:58 +0000 (09:40 +0000)]
add test case 261, response code 226 to TYPE

19 years agoNow allow TYPE responses to be any 2xx code, and log if it isn't 200.
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.

19 years agoremoved leftover debug message ("moo moo")
Daniel Stenberg [Sun, 22 May 2005 17:54:11 +0000 (17:54 +0000)]
removed leftover debug message ("moo moo")

19 years agoadded keywords
Daniel Stenberg [Sat, 21 May 2005 22:38:19 +0000 (22:38 +0000)]
added keywords

19 years agoadded -nobuildconf
Daniel Stenberg [Fri, 20 May 2005 11:24:55 +0000 (11:24 +0000)]
added -nobuildconf

19 years agokeywords added
Daniel Stenberg [Fri, 20 May 2005 11:15:24 +0000 (11:15 +0000)]
keywords added

19 years agoshorter name
Daniel Stenberg [Fri, 20 May 2005 11:15:15 +0000 (11:15 +0000)]
shorter name

19 years agosum up
Daniel Stenberg [Fri, 20 May 2005 11:14:44 +0000 (11:14 +0000)]
sum up

19 years agoAdd support for text mode on stdout tests as well, and add the mode=text
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.

19 years agoinclude ctype.h for isdigit()
Daniel Stenberg [Thu, 19 May 2005 09:55:53 +0000 (09:55 +0000)]
include ctype.h for isdigit()

19 years agoadditional fix for the malformed URL fix of yday
Daniel Stenberg [Thu, 19 May 2005 07:21:18 +0000 (07:21 +0000)]
additional fix for the malformed URL fix of yday

19 years agoremoved duplicate
Daniel Stenberg [Thu, 19 May 2005 07:12:16 +0000 (07:12 +0000)]
removed duplicate

19 years agothree fixes since 7.14.0
Daniel Stenberg [Wed, 18 May 2005 20:02:07 +0000 (20:02 +0000)]
three fixes since 7.14.0

19 years agoBug report #1204435 identified a problem with malformed URLs like
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.

19 years agoupdate
Daniel Stenberg [Wed, 18 May 2005 20:00:50 +0000 (20:00 +0000)]
update

19 years agoadjusted the strerror_r test more, use _REENTRANT instead of _THREAD_SAFE
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

19 years agoThe configure check for strerror_r() failed to detect the proper API at
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).

19 years ago#15 is now fixed
Daniel Stenberg [Wed, 18 May 2005 10:38:21 +0000 (10:38 +0000)]
#15 is now fixed

19 years agoclarified for GnuTLS
Daniel Stenberg [Wed, 18 May 2005 10:14:25 +0000 (10:14 +0000)]
clarified for GnuTLS

19 years agoseveral updates
Daniel Stenberg [Wed, 18 May 2005 10:12:08 +0000 (10:12 +0000)]
several updates

19 years agoignore resolve too
Daniel Stenberg [Wed, 18 May 2005 10:05:38 +0000 (10:05 +0000)]
ignore resolve too

19 years agouse less code and prevent compiler warning
Daniel Stenberg [Wed, 18 May 2005 10:01:46 +0000 (10:01 +0000)]
use less code and prevent compiler warning

19 years agoremoved the separate table with download links, and extended the curl site
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

19 years agoscan for gmake and make to prefer gmake on systems that have it
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

19 years agoMade test case 241 precheck that the given name resolves to an ipv6 address,
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...

19 years agoMoved more generic functions to util.[ch]
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

19 years agocheck if getsockname() returns failure before using the address it provides
Daniel Stenberg [Tue, 17 May 2005 09:18:17 +0000 (09:18 +0000)]
check if getsockname() returns failure before using the address it provides

19 years agoreduced typecasts, from two to one
Daniel Stenberg [Tue, 17 May 2005 09:15:21 +0000 (09:15 +0000)]
reduced typecasts, from two to one

19 years agoMore of the same
Dominick Meglio [Tue, 17 May 2005 04:20:58 +0000 (04:20 +0000)]
More of the same

19 years agoMore compiler warning cleanups
Dominick Meglio [Tue, 17 May 2005 04:18:41 +0000 (04:18 +0000)]
More compiler warning cleanups

19 years agobad formatting
Daniel Stenberg [Mon, 16 May 2005 22:30:00 +0000 (22:30 +0000)]
bad formatting

19 years agoMade ares_free_hostent man page refer to ares_parse_aaaa_reply
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

19 years agoCleaned up some compile warnings
Dominick Meglio [Mon, 16 May 2005 19:14:25 +0000 (19:14 +0000)]
Cleaned up some compile warnings

19 years agoAdded ares_getnameinfo which mimics the getnameinfo API
Dominick Meglio [Mon, 16 May 2005 18:06:54 +0000 (18:06 +0000)]
Added ares_getnameinfo which mimics the getnameinfo API

19 years agoModified the gmtime_r check to not check for it until the "check for a working
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.

19 years agodefine GMTIME_R to 0 if not working
Daniel Stenberg [Mon, 16 May 2005 14:53:48 +0000 (14:53 +0000)]
define GMTIME_R to 0 if not working

19 years agoattempt to detect a bad (as in HPUX 10.20 bad) gmtime_r function
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

19 years agostart working on 7.14.1
Daniel Stenberg [Mon, 16 May 2005 13:27:41 +0000 (13:27 +0000)]
start working on 7.14.1

19 years agoVersion 7.14.0
Daniel Stenberg [Mon, 16 May 2005 12:58:41 +0000 (12:58 +0000)]
Version 7.14.0

19 years agoreturn, not exit, on several places
Daniel Stenberg [Mon, 16 May 2005 07:07:00 +0000 (07:07 +0000)]
return, not exit, on several places

19 years agoConverted some macros to use NS_* so they work on non-IPv6 systems
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

19 years agoForgot to ares_-ize inet_ntop
Dominick Meglio [Sun, 15 May 2005 04:38:53 +0000 (04:38 +0000)]
Forgot to ares_-ize inet_ntop

19 years agofix warning about redefined symbol
Daniel Stenberg [Sat, 14 May 2005 21:15:36 +0000 (21:15 +0000)]
fix warning about redefined symbol

19 years agoreplaced the CRLF newlines with plain LF ones
Daniel Stenberg [Sat, 14 May 2005 20:45:49 +0000 (20:45 +0000)]
replaced the CRLF newlines with plain LF ones

19 years agoAdded an inet_ntop function from BIND for systems that do not have it
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

19 years agoUpdated generated dependencies.
Gisle Vanem [Sat, 14 May 2005 06:04:21 +0000 (06:04 +0000)]
Updated generated dependencies.

19 years agoSome patches for (a stricter/smarter) gcc 4.0 and
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.

19 years ago'ssize_t' seems to be a gcc 4.x built-in.
Gisle Vanem [Sat, 14 May 2005 05:59:26 +0000 (05:59 +0000)]
'ssize_t' seems to be a gcc 4.x built-in.

19 years agoChange for systems with >1 ways of setting (non-)blocking
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?

19 years agoupdated
Daniel Stenberg [Fri, 13 May 2005 23:00:06 +0000 (23:00 +0000)]
updated

19 years agouses select() instead of poll() even on Mac OS X 10.4
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

19 years agoadjusted the configure to always skip the fine-poll() test on Mac OS X (darwin)
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)

19 years agoremove blank lines
Daniel Stenberg [Thu, 12 May 2005 21:56:26 +0000 (21:56 +0000)]
remove blank lines

19 years agoCURLOPT_SSLVERSION clarified
Daniel Stenberg [Thu, 12 May 2005 21:49:42 +0000 (21:49 +0000)]
CURLOPT_SSLVERSION clarified

19 years ago-z bad use warning and NTLM proxy auth in reconnect fix
Daniel Stenberg [Thu, 12 May 2005 14:00:27 +0000 (14:00 +0000)]
-z bad use warning and NTLM proxy auth in reconnect fix

19 years agooops, found by bug reported in bug report #1200661
Daniel Stenberg [Thu, 12 May 2005 13:44:25 +0000 (13:44 +0000)]
oops, found by bug reported in bug report #1200661

19 years agospell
Daniel Stenberg [Thu, 12 May 2005 12:53:02 +0000 (12:53 +0000)]
spell

19 years agotypecast to fix warning on 64bit systems
Daniel Stenberg [Thu, 12 May 2005 08:51:30 +0000 (08:51 +0000)]
typecast to fix warning on 64bit systems

19 years agowarn about bad -z syntax
Daniel Stenberg [Thu, 12 May 2005 07:28:03 +0000 (07:28 +0000)]
warn about bad -z syntax