platform/upstream/curl.git
21 years agoNow supports "Transfer-Encoding: chunked" for HTTP PUT operations where the
Daniel Stenberg [Mon, 11 Nov 2002 08:40:37 +0000 (08:40 +0000)]
Now supports "Transfer-Encoding: chunked" for HTTP PUT operations where the
size of the uploaded file is unknown.

21 years agoBug report #634625 identified how curl returned timeout immediately when
Daniel Stenberg [Thu, 7 Nov 2002 08:45:10 +0000 (08:45 +0000)]
Bug report #634625 identified how curl returned timeout immediately when
CURLOPT_CONNECTTIMEOUT was used and provided a fix.

21 years agorecent changes
Daniel Stenberg [Wed, 6 Nov 2002 08:30:08 +0000 (08:30 +0000)]
recent changes

21 years agooutput all test case numbers with three digits
Daniel Stenberg [Wed, 6 Nov 2002 08:29:48 +0000 (08:29 +0000)]
output all test case numbers with three digits

21 years agolanguage fix
Daniel Stenberg [Wed, 6 Nov 2002 08:29:26 +0000 (08:29 +0000)]
language fix

21 years agoLehel Bernadt's fix to prevent debug message to get sent on errors when
Daniel Stenberg [Tue, 5 Nov 2002 11:11:10 +0000 (11:11 +0000)]
Lehel Bernadt's fix to prevent debug message to get sent on errors when
debug wasn't enabled

21 years agoipv4-fixes for the new Curl_dns_entry struct and Curl_resolv() proto
Daniel Stenberg [Tue, 5 Nov 2002 11:07:49 +0000 (11:07 +0000)]
ipv4-fixes for the new Curl_dns_entry struct and Curl_resolv() proto

21 years agoCurl_resolv() now returns a different struct, and it contains a reference
Daniel Stenberg [Tue, 5 Nov 2002 10:51:41 +0000 (10:51 +0000)]
Curl_resolv() now returns a different struct, and it contains a reference
counter so that the caller needs to decrease that counter when done with
the returned data.

If compiled with MALLOCDEBUG I've added some extra checking that the counter
is decreased before a handle is closed etc.

21 years agoSoren Spies filled in some info about Mac OS X 10.2
Daniel Stenberg [Thu, 31 Oct 2002 13:25:03 +0000 (13:25 +0000)]
Soren Spies filled in some info about Mac OS X 10.2

21 years agoDisable the DNS cache (by setting the timeout to 0) made libcurl leak
Daniel Stenberg [Thu, 31 Oct 2002 13:09:11 +0000 (13:09 +0000)]
Disable the DNS cache (by setting the timeout to 0) made libcurl leak
memory. Avery Fay brought the example code that proved this.

21 years agowhen using checkprefix(), the first argument must be the prefix!
Daniel Stenberg [Mon, 28 Oct 2002 22:19:23 +0000 (22:19 +0000)]
when using checkprefix(), the first argument must be the prefix!

21 years agoTransfer-Encoding: needs 17 bytes passed, not 18
Daniel Stenberg [Mon, 28 Oct 2002 21:52:27 +0000 (21:52 +0000)]
Transfer-Encoding: needs 17 bytes passed, not 18

21 years agokromJx@crosswinds.net's fix that now uses checkprefix() instead of
Daniel Stenberg [Mon, 28 Oct 2002 21:52:00 +0000 (21:52 +0000)]
kromJx@crosswinds.net's fix that now uses checkprefix() instead of
strnequal() when the third argument was strlen(first argument) anyway.
This makes it less prone to errors. (Slightly edited by me)

21 years agothe malloc debug system assumes single thread
Daniel Stenberg [Mon, 28 Oct 2002 21:05:14 +0000 (21:05 +0000)]
the malloc debug system assumes single thread

21 years agokromJx@crosswinds.net fixed typos
Daniel Stenberg [Mon, 28 Oct 2002 20:58:28 +0000 (20:58 +0000)]
kromJx@crosswinds.net fixed typos

21 years agoworks now with autoconf 2.54
Daniel Stenberg [Mon, 28 Oct 2002 20:39:23 +0000 (20:39 +0000)]
works now with autoconf 2.54

21 years agoKevin Roth's patch that checks for the CA cert file at two more places if the
Daniel Stenberg [Mon, 28 Oct 2002 19:49:58 +0000 (19:49 +0000)]
Kevin Roth's patch that checks for the CA cert file at two more places if the
--cacert option is not used.

1. An environment variable named CURL_CA_BUNDLE may contain the full file
name to the file.

2. On Windows, the cert file may be named curl-ca-bundle.crt and put in the
same dir as curl is located (or the CWD) and curl will then use that file
instead.

21 years agoKevin Roth's patch. $(RM) instead of @erase, and it also passes on the
Daniel Stenberg [Mon, 28 Oct 2002 19:39:58 +0000 (19:39 +0000)]
Kevin Roth's patch. $(RM) instead of @erase, and it also passes on the
USE_SSLEAY variable

21 years agoKevin Roth's fixes that use $(RM) instead of @erase and modified SSL version
Daniel Stenberg [Mon, 28 Oct 2002 19:38:46 +0000 (19:38 +0000)]
Kevin Roth's fixes that use $(RM) instead of @erase and modified SSL version

21 years agoprevent compiler warning
Daniel Stenberg [Mon, 28 Oct 2002 19:21:30 +0000 (19:21 +0000)]
prevent compiler warning

21 years agoprevent compiler warnings
Daniel Stenberg [Mon, 28 Oct 2002 19:20:59 +0000 (19:20 +0000)]
prevent compiler warnings

21 years agofixes
Daniel Stenberg [Mon, 28 Oct 2002 19:17:49 +0000 (19:17 +0000)]
fixes

21 years agofixed the cygwin check for -no-undefined
Daniel Stenberg [Wed, 23 Oct 2002 14:45:28 +0000 (14:45 +0000)]
fixed the cygwin check for -no-undefined

21 years agoimproved the check for an ISO cpp by checking specificly for __BORLANDC__
Daniel Stenberg [Wed, 23 Oct 2002 14:15:29 +0000 (14:15 +0000)]
improved the check for an ISO cpp by checking specificly for __BORLANDC__
too, as Emiliano Ida has confirmed it to work

21 years agokromJx@crosswinds.net made it run properly with stunnel >=4.0
Daniel Stenberg [Wed, 23 Oct 2002 14:07:34 +0000 (14:07 +0000)]
kromJx@crosswinds.net made it run properly with stunnel >=4.0

21 years agobad headers can come in two kinds, we either treat everything as one big
Daniel Stenberg [Wed, 23 Oct 2002 13:48:37 +0000 (13:48 +0000)]
bad headers can come in two kinds, we either treat everything as one big
badly assumed header, or we think that parts of the buffer is a bad header
and the rest is treated as a normal body part

21 years agoanother week, 7 fixes
Daniel Stenberg [Mon, 21 Oct 2002 14:04:26 +0000 (14:04 +0000)]
another week, 7 fixes

21 years agoglibc 2.2.93 gethostbyname_r() no longer returns ERANGE if the given buffer
Daniel Stenberg [Mon, 21 Oct 2002 13:20:30 +0000 (13:20 +0000)]
glibc 2.2.93 gethostbyname_r() no longer returns ERANGE if the given buffer
size isn't big enough. For some reason they now return EAGAIN.

Redhat 8 ships with this glibc version.

21 years agoNikita Schmidt's fix to debian bug report #165382. This is verified with
Daniel Stenberg [Mon, 21 Oct 2002 12:07:02 +0000 (12:07 +0000)]
Nikita Schmidt's fix to debian bug report #165382. This is verified with
the new test case 55.

21 years agoAdded test 55, follow location with a single slash in the original path.
Daniel Stenberg [Mon, 21 Oct 2002 12:02:44 +0000 (12:02 +0000)]
Added test 55, follow location with a single slash in the original path.
This caused curl 7.10.1 to crash.

21 years agocheck for cygwin and if built on that, enable the no-undefined option for
Daniel Stenberg [Mon, 21 Oct 2002 06:49:42 +0000 (06:49 +0000)]
check for cygwin and if built on that, enable the no-undefined option for
libtool. Otherwise disable it.

21 years agotest 54 added, blank Location: field
Daniel Stenberg [Mon, 21 Oct 2002 06:18:51 +0000 (06:18 +0000)]
test 54 added, blank Location: field

21 years ago--enable-debug now checks if gcc is used before it sets all those gcc-
Daniel Stenberg [Mon, 21 Oct 2002 05:52:05 +0000 (05:52 +0000)]
--enable-debug now checks if gcc is used before it sets all those gcc-
specific options. This should make this option work on more platforms with
other compilers.

21 years agomake very sure that we return 'done' properly when a transfer is done, as
Daniel Stenberg [Fri, 18 Oct 2002 15:28:33 +0000 (15:28 +0000)]
make very sure that we return 'done' properly when a transfer is done, as
otherwise the multi interface gets problems

21 years agoreturn call_multi when we follow a location
Daniel Stenberg [Fri, 18 Oct 2002 15:27:49 +0000 (15:27 +0000)]
return call_multi when we follow a location

21 years agoif we found no string on the Location: line, don't try to follow it
Daniel Stenberg [Fri, 18 Oct 2002 13:51:00 +0000 (13:51 +0000)]
if we found no string on the Location: line, don't try to follow it

21 years agomoved comments to first column and automake stopped complaining
Daniel Stenberg [Fri, 18 Oct 2002 07:55:38 +0000 (07:55 +0000)]
moved comments to first column and automake stopped complaining

21 years agoMake the COOKIESESSION work better by creating a list of cookie files files
Daniel Stenberg [Thu, 17 Oct 2002 07:10:39 +0000 (07:10 +0000)]
Make the COOKIESESSION work better by creating a list of cookie files files
when given in the curl_easy_setopt() and then parse them all on the first
curl_easy_perform() call instead.

21 years agojunk cookies test53 added
Daniel Stenberg [Thu, 17 Oct 2002 07:03:26 +0000 (07:03 +0000)]
junk cookies test53 added

21 years agomucho fixed
Daniel Stenberg [Wed, 16 Oct 2002 09:53:38 +0000 (09:53 +0000)]
mucho fixed

21 years agoAdded new mirror
Daniel Stenberg [Tue, 15 Oct 2002 14:18:31 +0000 (14:18 +0000)]
Added new mirror

21 years agoAndrés García's corrections
Daniel Stenberg [Tue, 15 Oct 2002 08:39:30 +0000 (08:39 +0000)]
Andrés García's corrections

21 years agoignore .ps and .pdf files too
Daniel Stenberg [Mon, 14 Oct 2002 07:47:40 +0000 (07:47 +0000)]
ignore .ps and .pdf files too

21 years agogenerate and include PDF versions of the docs in the release archive
Daniel Stenberg [Mon, 14 Oct 2002 07:39:49 +0000 (07:39 +0000)]
generate and include PDF versions of the docs in the release archive

21 years agomy first take at a memory leak detection document
Daniel Stenberg [Sun, 13 Oct 2002 10:34:33 +0000 (10:34 +0000)]
my first take at a memory leak detection document

21 years agosome more
Daniel Stenberg [Sun, 13 Oct 2002 10:28:38 +0000 (10:28 +0000)]
some more

21 years agoadded more info
Daniel Stenberg [Sun, 13 Oct 2002 10:18:10 +0000 (10:18 +0000)]
added more info

21 years agothree silly bugs
Daniel Stenberg [Sat, 12 Oct 2002 12:35:30 +0000 (12:35 +0000)]
three silly bugs

21 years ago-y and -Y was switched in the examples
Daniel Stenberg [Sat, 12 Oct 2002 12:14:09 +0000 (12:14 +0000)]
-y and -Y was switched in the examples

21 years agoreturn error properly when a non-blocking connect fails using the multi
Daniel Stenberg [Sat, 12 Oct 2002 11:18:08 +0000 (11:18 +0000)]
return error properly when a non-blocking connect fails using the multi
interface

21 years agoWhen we receive a "bad header" we must sure not to write down the data part
Daniel Stenberg [Fri, 11 Oct 2002 20:55:08 +0000 (20:55 +0000)]
When we receive a "bad header" we must sure not to write down the data part
as well, as then we write the same data twice.

21 years agofix bad free() that caused segfault
Daniel Stenberg [Fri, 11 Oct 2002 17:44:36 +0000 (17:44 +0000)]
fix bad free() that caused segfault

21 years ago7.10.1 commit
Daniel Stenberg [Fri, 11 Oct 2002 13:25:08 +0000 (13:25 +0000)]
7.10.1 commit

21 years agomore
Daniel Stenberg [Thu, 10 Oct 2002 08:04:26 +0000 (08:04 +0000)]
more

21 years agoJeff Lawson fixed a few problems with connection re-use that remained when
Daniel Stenberg [Thu, 10 Oct 2002 08:00:49 +0000 (08:00 +0000)]
Jeff Lawson fixed a few problems with connection re-use that remained when
you set CURLOPT_PROXY to "".

21 years agoJunk data could get inserted when saving/getting HTTP headers, as discovered
Daniel Stenberg [Wed, 9 Oct 2002 13:03:51 +0000 (13:03 +0000)]
Junk data could get inserted when saving/getting HTTP headers, as discovered
by Craig Davison. Now we deal with the 'nread' variable correctly between
each header line.

21 years agofailf() now sends the text to the debug function callback
Daniel Stenberg [Tue, 8 Oct 2002 16:10:37 +0000 (16:10 +0000)]
failf() now sends the text to the debug function callback

21 years agoset version and date
Daniel Stenberg [Tue, 8 Oct 2002 13:30:34 +0000 (13:30 +0000)]
set version and date

21 years agoadded --ca
Daniel Stenberg [Tue, 8 Oct 2002 13:30:15 +0000 (13:30 +0000)]
added --ca

21 years agoAdded timeout support for the non-windows version.
Daniel Stenberg [Tue, 8 Oct 2002 13:03:26 +0000 (13:03 +0000)]
Added timeout support for the non-windows version.

21 years agorewrote the --with-zlib check, based on Albert Chin's input.
Daniel Stenberg [Tue, 8 Oct 2002 12:53:04 +0000 (12:53 +0000)]
rewrote the --with-zlib check, based on Albert Chin's input.

21 years ago7.10 not 7.9.9 (there never was one named that)
Daniel Stenberg [Tue, 8 Oct 2002 09:24:21 +0000 (09:24 +0000)]
7.10 not 7.9.9 (there never was one named that)

21 years ago5.7 Link errors when building libcurl on Windows!
Daniel Stenberg [Tue, 8 Oct 2002 07:16:17 +0000 (07:16 +0000)]
5.7 Link errors when building libcurl on Windows!

21 years agomore blurb
Daniel Stenberg [Tue, 8 Oct 2002 07:11:34 +0000 (07:11 +0000)]
more blurb

21 years agoKevin's fix to use DESTDIR instead of prefix on make install
Daniel Stenberg [Tue, 8 Oct 2002 06:50:10 +0000 (06:50 +0000)]
Kevin's fix to use DESTDIR instead of prefix on make install

21 years agoadded libcurl-the-guide to the dist
Daniel Stenberg [Mon, 7 Oct 2002 18:23:52 +0000 (18:23 +0000)]
added libcurl-the-guide to the dist

21 years agoFollowing locations properly, if told to do so.
Daniel Stenberg [Mon, 7 Oct 2002 13:38:59 +0000 (13:38 +0000)]
Following locations properly, if told to do so.

21 years agoMove the URL concat code to Curl_follow(), and added a proto for that
Daniel Stenberg [Mon, 7 Oct 2002 13:38:34 +0000 (13:38 +0000)]
Move the URL concat code to Curl_follow(), and added a proto for that
function. For Location: following.

21 years agoKevin Roth pointed out that 'make install' failed if built outside the
Daniel Stenberg [Mon, 7 Oct 2002 09:04:50 +0000 (09:04 +0000)]
Kevin Roth pointed out that 'make install' failed if built outside the
sourcedir if we're not using $(srcdir) properly.

21 years agoKevin's update
Daniel Stenberg [Mon, 7 Oct 2002 07:38:33 +0000 (07:38 +0000)]
Kevin's update

21 years agofixes since 7.10
Daniel Stenberg [Fri, 4 Oct 2002 14:27:31 +0000 (14:27 +0000)]
fixes since 7.10

21 years agoThe -no-undefined flag is CRUCIAL for this to build fine on Cygwin. If we
Daniel Stenberg [Fri, 4 Oct 2002 14:26:10 +0000 (14:26 +0000)]
The -no-undefined flag is CRUCIAL for this to build fine on Cygwin. If we
find a case in which we need to remove this flag, we should most likely
write a configure check that detects when this flag is needed and when its
not.

21 years agoas Ralph Mitchell pointed out, the Location: following code needs some
Daniel Stenberg [Fri, 4 Oct 2002 14:15:01 +0000 (14:15 +0000)]
as Ralph Mitchell pointed out, the Location: following code needs some
basic ./ and ../ strip-off understanding, and this change introduces with.
test cases 49 - 52 test this.

21 years agonew redirect tests with ./ and ../
Daniel Stenberg [Fri, 4 Oct 2002 14:06:12 +0000 (14:06 +0000)]
new redirect tests with ./ and ../

21 years agoKevin Roth's patch for his new packaging
Daniel Stenberg [Fri, 4 Oct 2002 08:22:57 +0000 (08:22 +0000)]
Kevin Roth's patch for his new packaging

21 years agoBjorn Wiren pointed out that INSTALL was missing in the tarballs
Daniel Stenberg [Thu, 3 Oct 2002 12:50:48 +0000 (12:50 +0000)]
Bjorn Wiren pointed out that INSTALL was missing in the tarballs

21 years ago--with-libz and --without-libz are now supported
Daniel Stenberg [Tue, 1 Oct 2002 11:16:36 +0000 (11:16 +0000)]
--with-libz and --without-libz are now supported

21 years ago7.10
Daniel Stenberg [Tue, 1 Oct 2002 08:57:49 +0000 (08:57 +0000)]
7.10

21 years agothree more changes
Daniel Stenberg [Tue, 1 Oct 2002 08:38:54 +0000 (08:38 +0000)]
three more changes

21 years agoget an argument and add a 'age' field to the struct
Daniel Stenberg [Mon, 30 Sep 2002 19:51:05 +0000 (19:51 +0000)]
get an argument and add a 'age' field to the struct

21 years agoCris Bailiff found this flaw, gethostbyname_r() on linux returns 0 even
Daniel Stenberg [Mon, 30 Sep 2002 08:07:16 +0000 (08:07 +0000)]
Cris Bailiff found this flaw, gethostbyname_r() on linux returns 0 even
when it can't lookup the name (at least in some cases) and thus we need
to make an extra check to detect failures.

21 years ago"" proxy means no proxy
Daniel Stenberg [Fri, 27 Sep 2002 09:51:42 +0000 (09:51 +0000)]
"" proxy means no proxy

21 years agoAllow a "" proxy explicitly set dont-use-proxy, i.e don't even check the
Daniel Stenberg [Fri, 27 Sep 2002 09:49:40 +0000 (09:49 +0000)]
Allow a "" proxy explicitly set dont-use-proxy, i.e don't even check the
environment variables or anything. Setting it to NULL disables proxy as well,
but allows the environment variables to kick in and be used.

21 years agopoint out more docs
Daniel Stenberg [Thu, 26 Sep 2002 13:16:08 +0000 (13:16 +0000)]
point out more docs

21 years agonicer html
Daniel Stenberg [Thu, 26 Sep 2002 13:12:48 +0000 (13:12 +0000)]
nicer html

21 years agomain index for the tool docs
Daniel Stenberg [Thu, 26 Sep 2002 13:05:54 +0000 (13:05 +0000)]
main index for the tool docs

21 years agofixed html tag
Daniel Stenberg [Thu, 26 Sep 2002 13:03:55 +0000 (13:03 +0000)]
fixed html tag

21 years agoenhanced curl_version_info
Daniel Stenberg [Thu, 26 Sep 2002 13:03:22 +0000 (13:03 +0000)]
enhanced curl_version_info

21 years agolanguage!
Daniel Stenberg [Wed, 25 Sep 2002 16:20:29 +0000 (16:20 +0000)]
language!

21 years agoextended curl_version_info() with more info on related sub-libraries
Daniel Stenberg [Wed, 25 Sep 2002 15:38:48 +0000 (15:38 +0000)]
extended curl_version_info() with more info on related sub-libraries

21 years agofour fixes of yday and today
Daniel Stenberg [Wed, 25 Sep 2002 15:11:06 +0000 (15:11 +0000)]
four fixes of yday and today

21 years agomake sure we free rangeline before we re-assign it to a new allocated
Daniel Stenberg [Wed, 25 Sep 2002 12:47:38 +0000 (12:47 +0000)]
make sure we free rangeline before we re-assign it to a new allocated
memory as otherwise we (might) leak memory

21 years agocurl_free proto added
Daniel Stenberg [Wed, 25 Sep 2002 12:27:37 +0000 (12:27 +0000)]
curl_free proto added

21 years agoWalter J. Mack added curl_free
Daniel Stenberg [Wed, 25 Sep 2002 12:26:07 +0000 (12:26 +0000)]
Walter J. Mack added curl_free

21 years agoadded curl_free and an "overview" section
Daniel Stenberg [Wed, 25 Sep 2002 12:24:46 +0000 (12:24 +0000)]
added curl_free and an "overview" section

21 years agoadded curl_free
Daniel Stenberg [Wed, 25 Sep 2002 12:21:08 +0000 (12:21 +0000)]
added curl_free

21 years agoWalter J. Mack's curl_free addition
Daniel Stenberg [Wed, 25 Sep 2002 12:11:12 +0000 (12:11 +0000)]
Walter J. Mack's curl_free addition

21 years agoAndrés García found out that Curl_protocol_connect() could return an
Daniel Stenberg [Wed, 25 Sep 2002 11:27:06 +0000 (11:27 +0000)]
Andrés García found out that Curl_protocol_connect() could return an
uninitialized variable.

21 years agoWez Furlong's curl_version_info() function added, still needs some
Daniel Stenberg [Wed, 25 Sep 2002 07:08:41 +0000 (07:08 +0000)]
Wez Furlong's curl_version_info() function added, still needs some
adjustments and possibly some improvments to feature all those things we
could possibly want from this.

21 years ago5 changes since pre3
Daniel Stenberg [Mon, 23 Sep 2002 15:01:03 +0000 (15:01 +0000)]
5 changes since pre3