platform/upstream/curl.git
19 years agoIf any of the options CURLOPT_HTTPGET, CURLOPT_POST and CURLOPT_HTTPPOST is
Daniel Stenberg [Wed, 27 Jul 2005 22:29:50 +0000 (22:29 +0000)]
If any of the options CURLOPT_HTTPGET, CURLOPT_POST and CURLOPT_HTTPPOST is
set to 1, CURLOPT_NOBODY will now automatically be set to 0.

19 years agoPeteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is a
Daniel Stenberg [Wed, 27 Jul 2005 22:17:14 +0000 (22:17 +0000)]
Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is a
simple interface to extracting and setting cookies in libcurl's internal
"cookie jar". See the new cookie_interface.c example code.

19 years agodisabling HTTP should also nullify this function call
Daniel Stenberg [Wed, 27 Jul 2005 21:44:43 +0000 (21:44 +0000)]
disabling HTTP should also nullify this function call

19 years agoFixed --without-gnutls
Dan Fandrich [Wed, 27 Jul 2005 18:22:21 +0000 (18:22 +0000)]
Fixed --without-gnutls

19 years agoFixed some typos in output messages.
Dan Fandrich [Thu, 21 Jul 2005 22:18:35 +0000 (22:18 +0000)]
Fixed some typos in output messages.

19 years agoProperly support the options --without-spnego --without-gssapi --without-krb4
Dan Fandrich [Wed, 20 Jul 2005 23:00:27 +0000 (23:00 +0000)]
Properly support the options --without-spnego --without-gssapi --without-krb4

19 years agoAdd -Wdeclaration-after-statement to gcc to detect accidental C99-style
Dan Fandrich [Wed, 20 Jul 2005 21:58:23 +0000 (21:58 +0000)]
Add -Wdeclaration-after-statement to gcc to detect accidental C99-style
variable declarations.

19 years agoSimplified the code within curl_easy_perform() that calls Curl_perform().
Daniel Stenberg [Sun, 17 Jul 2005 12:44:11 +0000 (12:44 +0000)]
Simplified the code within curl_easy_perform() that calls Curl_perform().
Pointed out by Bjorn Reese.

19 years agocURLpp 0.5.1
Daniel Stenberg [Fri, 15 Jul 2005 06:57:36 +0000 (06:57 +0000)]
cURLpp 0.5.1

19 years agoDiego Casorran patches to make (lib)curl build fine on Amiga again
Daniel Stenberg [Wed, 13 Jul 2005 18:06:40 +0000 (18:06 +0000)]
Diego Casorran patches to make (lib)curl build fine on Amiga again

19 years agobetter description for HEADERFUNCTION
Daniel Stenberg [Wed, 13 Jul 2005 09:46:37 +0000 (09:46 +0000)]
better description for HEADERFUNCTION

19 years agoelaborate a bit on how to deal with chunked-encoded trailers that now are
Daniel Stenberg [Wed, 13 Jul 2005 09:37:22 +0000 (09:37 +0000)]
elaborate a bit on how to deal with chunked-encoded trailers that now are
passed to the app using the header callback

19 years agoconverted this back to one name per line to make it easier/better to diff
Daniel Stenberg [Wed, 13 Jul 2005 07:44:53 +0000 (07:44 +0000)]
converted this back to one name per line to make it easier/better to diff
and merge when new names are added

19 years agomention the Rexx/CURL release
Daniel Stenberg [Tue, 12 Jul 2005 18:20:31 +0000 (18:20 +0000)]
mention the Rexx/CURL release

19 years agoAdrian Schuur added trailer support in the chunked encoding stream. The
Daniel Stenberg [Tue, 12 Jul 2005 18:15:34 +0000 (18:15 +0000)]
Adrian Schuur added trailer support in the chunked encoding stream. The
trailer is then sent to the normal header callback/stream.

19 years agomention an old idea
Daniel Stenberg [Fri, 8 Jul 2005 13:28:16 +0000 (13:28 +0000)]
mention an old idea

19 years agomention the exception only once ;-)
Daniel Stenberg [Thu, 7 Jul 2005 05:43:04 +0000 (05:43 +0000)]
mention the exception only once ;-)

19 years agocorrection for the 407 with response-body case
Daniel Stenberg [Tue, 5 Jul 2005 22:07:34 +0000 (22:07 +0000)]
correction for the 407 with response-body case

19 years agoUpdate copyright.
Gisle Vanem [Tue, 5 Jul 2005 18:07:55 +0000 (18:07 +0000)]
Update copyright.

19 years agoGisle Vanem came up with a nice little work-around for bug #1230118. It
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.

19 years agomention the strerror_r detection fix in configure
Daniel Stenberg [Mon, 4 Jul 2005 21:53:02 +0000 (21:53 +0000)]
mention the strerror_r detection fix in configure

19 years agoAndrew Bushnell provided enough info for me to tell that we badly needed to
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.

19 years agoadd more info when this script gets confused, and added getaddrinfo and
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

19 years agouse %p to printf pointers since %x doesn't work properly on tru64 for this
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)

19 years agoenable memory debugging on tru64 with ipv6 support by doing a little different
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

19 years agoDetect (or at least infer) glibc-style strerror_r even when cross-compiling.
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.

19 years agonew Lua binding
Daniel Stenberg [Tue, 28 Jun 2005 09:08:52 +0000 (09:08 +0000)]
new Lua binding

19 years agoclarify that ftp ascii transfers don't do right in current libcurl
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

19 years agoadded docs about the new proxy string support
Daniel Stenberg [Thu, 23 Jun 2005 23:07:07 +0000 (23:07 +0000)]
added docs about the new proxy string support

19 years agoDavid Shaw fixes
Daniel Stenberg [Wed, 22 Jun 2005 22:31:08 +0000 (22:31 +0000)]
David Shaw fixes

19 years agomention more ARMs
Daniel Stenberg [Wed, 22 Jun 2005 22:30:52 +0000 (22:30 +0000)]
mention more ARMs

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