platform/upstream/curl.git
21 years agocleaned up the --help output. Tried to unify the language. Shortened a bunch
Daniel Stenberg [Wed, 29 Oct 2003 16:11:36 +0000 (16:11 +0000)]
cleaned up the --help output. Tried to unify the language. Shortened a bunch
of explanations.

21 years agoDavid Hull made the file: URL parser also accept the somewhat sloppy file
Daniel Stenberg [Wed, 29 Oct 2003 09:53:21 +0000 (09:53 +0000)]
David Hull made the file: URL parser also accept the somewhat sloppy file
syntax: file:/path. I added test case 203 to verify this.

21 years agostunnel.pm is no more
Daniel Stenberg [Wed, 29 Oct 2003 09:13:53 +0000 (09:13 +0000)]
stunnel.pm is no more

21 years agostunnel.pm is removed
Daniel Stenberg [Wed, 29 Oct 2003 09:13:36 +0000 (09:13 +0000)]
stunnel.pm is removed

21 years agonow check for and use valgrind, inserted and modified the check for stunnel
Daniel Stenberg [Wed, 29 Oct 2003 09:12:47 +0000 (09:12 +0000)]
now check for and use valgrind, inserted and modified the check for stunnel
and we no longer use the stunnel.pm

21 years agoremoved, functionality added to runtests.pl
Daniel Stenberg [Wed, 29 Oct 2003 09:12:09 +0000 (09:12 +0000)]
removed, functionality added to runtests.pl

21 years agoAnother glibc resolve name fix
Daniel Stenberg [Tue, 28 Oct 2003 13:06:15 +0000 (13:06 +0000)]
Another glibc resolve name fix

21 years agopossibly uninitialized variable
Daniel Stenberg [Tue, 28 Oct 2003 09:28:11 +0000 (09:28 +0000)]
possibly uninitialized variable

21 years agooverlapping memory chunks with strcpy(), detected by the friendly valgrind
Daniel Stenberg [Tue, 28 Oct 2003 09:17:15 +0000 (09:17 +0000)]
overlapping memory chunks with strcpy(), detected by the friendly valgrind

21 years agoslightly quieter torture test by default
Daniel Stenberg [Mon, 27 Oct 2003 06:40:48 +0000 (06:40 +0000)]
slightly quieter torture test by default

21 years agoJames Bursa's fix to prevent failf() to write outside its buffer boundary
Daniel Stenberg [Mon, 27 Oct 2003 06:35:47 +0000 (06:35 +0000)]
James Bursa's fix to prevent failf() to write outside its buffer boundary

21 years agoJames Bursa found an ERRORBUFFFER overflow
Daniel Stenberg [Sun, 26 Oct 2003 15:42:21 +0000 (15:42 +0000)]
James Bursa found an ERRORBUFFFER overflow

21 years agosnprintf() made a single-byte buffer overflow, as it could write a zero
Daniel Stenberg [Sun, 26 Oct 2003 15:37:45 +0000 (15:37 +0000)]
snprintf() made a single-byte buffer overflow, as it could write a zero
outside its given buffer. Discovered and reported by James Bursa.

21 years agoavoid dependence on the order of the fields in the timeval struct, pointed out
Daniel Stenberg [Sat, 25 Oct 2003 06:03:50 +0000 (06:03 +0000)]
avoid dependence on the order of the fields in the timeval struct, pointed out
by Gisle Vanem

21 years agosupport building ares-enabled too
Daniel Stenberg [Fri, 24 Oct 2003 22:30:40 +0000 (22:30 +0000)]
support building ares-enabled too

21 years agotests the new -C - fix
Daniel Stenberg [Fri, 24 Oct 2003 21:58:43 +0000 (21:58 +0000)]
tests the new -C - fix

21 years agoHTTP resume fix
Daniel Stenberg [Fri, 24 Oct 2003 21:58:11 +0000 (21:58 +0000)]
HTTP resume fix

21 years agoResuming a download of an already downloaded document, that is trying to get
Daniel Stenberg [Fri, 24 Oct 2003 21:54:34 +0000 (21:54 +0000)]
Resuming a download of an already downloaded document, that is trying to get
a range of a document beyond its size, caused libcurl to "hang" until the
server closed the connection and then it returned error 18.

This is bad. This way, we don't return any error at all, which isn't nice
either, as we need to alert the app somehow that the request range was out
of size.

21 years agosolaris build improvement
Daniel Stenberg [Fri, 24 Oct 2003 21:27:22 +0000 (21:27 +0000)]
solaris build improvement

21 years agoBased on David Hull's fix in bug report 804599, we now check for solaris
Daniel Stenberg [Fri, 24 Oct 2003 21:26:04 +0000 (21:26 +0000)]
Based on David Hull's fix in bug report 804599, we now check for solaris
and gcc, to set the -mimpure-text link flag for linking the lib better.

21 years agodon't select() forever, set a timeout so at least the test fails nice
Daniel Stenberg [Fri, 24 Oct 2003 20:58:34 +0000 (20:58 +0000)]
don't select() forever, set a timeout so at least the test fails nice

21 years agobetter name, it isn't https
Daniel Stenberg [Fri, 24 Oct 2003 20:39:39 +0000 (20:39 +0000)]
better name, it isn't https

21 years agoc-ares is the new name and ares_version() was added
Daniel Stenberg [Fri, 24 Oct 2003 20:30:14 +0000 (20:30 +0000)]
c-ares is the new name and ares_version() was added

21 years agoIntroducing ares_version(), so that we can have apps get version info about
Daniel Stenberg [Fri, 24 Oct 2003 20:28:04 +0000 (20:28 +0000)]
Introducing ares_version(), so that we can have apps get version info about
what particular ares version that is being used.

21 years agomake it work with Negotiate support enabled too
Daniel Stenberg [Fri, 24 Oct 2003 20:21:01 +0000 (20:21 +0000)]
make it work with Negotiate support enabled too

21 years agoruntests -t introduced
Daniel Stenberg [Fri, 24 Oct 2003 13:12:58 +0000 (13:12 +0000)]
runtests -t introduced

21 years agoimproved the torture testing
Daniel Stenberg [Fri, 24 Oct 2003 13:00:19 +0000 (13:00 +0000)]
improved the torture testing

21 years agosupports -l now to display the actual line that was prevented by memlimit
Daniel Stenberg [Fri, 24 Oct 2003 12:59:58 +0000 (12:59 +0000)]
supports -l now to display the actual line that was prevented by memlimit

21 years agoif malloc fails, we must bail out nicely
Daniel Stenberg [Fri, 24 Oct 2003 12:58:59 +0000 (12:58 +0000)]
if malloc fails, we must bail out nicely

21 years agoImproved checks for bad memory situations and proper behaviour when we
Daniel Stenberg [Fri, 24 Oct 2003 12:58:29 +0000 (12:58 +0000)]
Improved checks for bad memory situations and proper behaviour when we
run out of memory.

21 years agobetter bailing-out cleanup if a malloc fails in the DNS cache
Daniel Stenberg [Fri, 24 Oct 2003 12:57:23 +0000 (12:57 +0000)]
better bailing-out cleanup if a malloc fails in the DNS cache

21 years agofree all memory on failure before bailing out, not really necessary but
Daniel Stenberg [Fri, 24 Oct 2003 12:56:27 +0000 (12:56 +0000)]
free all memory on failure before bailing out, not really necessary but
my upcoming automated test gets crazy if not

21 years agothe actual release-notes is new too
Daniel Stenberg [Fri, 24 Oct 2003 08:56:08 +0000 (08:56 +0000)]
the actual release-notes is new too

21 years agoIntroducing -t to "torture" the memory allocations/failing/bail-outing in
Daniel Stenberg [Fri, 24 Oct 2003 08:53:59 +0000 (08:53 +0000)]
Introducing -t to "torture" the memory allocations/failing/bail-outing in
curl and libcurl. -t is not used anywhere automated yet, and it does already
identify memory leaks on failed allocations. Work to do.

21 years agoproduce a single summary of the amount of allocations on -v
Daniel Stenberg [Fri, 24 Oct 2003 08:09:33 +0000 (08:09 +0000)]
produce a single summary of the amount of allocations on -v

21 years agodisable-eprt, fixed CA cert verfication
Daniel Stenberg [Fri, 24 Oct 2003 06:12:39 +0000 (06:12 +0000)]
disable-eprt, fixed CA cert verfication

21 years agoGeorg Horn's patch. -k is no longer mutually exclusive with --cacert and
Daniel Stenberg [Thu, 23 Oct 2003 07:46:22 +0000 (07:46 +0000)]
Georg Horn's patch. -k is no longer mutually exclusive with --cacert and
--capath. Using -k together with one of those just means that the result
of the CA cert check is ignored (but displayed if -v is used).

21 years agoGeorg Horn's fixes to do different CA cert verifications. They can now be
Daniel Stenberg [Thu, 23 Oct 2003 07:44:55 +0000 (07:44 +0000)]
Georg Horn's fixes to do different CA cert verifications. They can now be
done even if the result is ignored, as some sites seem to require that.

21 years agoencourage use of -c to store cookies instead of -D
Daniel Stenberg [Wed, 22 Oct 2003 14:37:24 +0000 (14:37 +0000)]
encourage use of -c to store cookies instead of -D

21 years agoallow gdb to check the libtest dir for sources too (for the 500- tests)
Daniel Stenberg [Wed, 22 Oct 2003 12:46:45 +0000 (12:46 +0000)]
allow gdb to check the libtest dir for sources too (for the 500- tests)

21 years agowe continue to improve things
Daniel Stenberg [Wed, 22 Oct 2003 12:05:21 +0000 (12:05 +0000)]
we continue to improve things

21 years agomake --disable-eprt work, based on Gisle Vanem's patch
Daniel Stenberg [Wed, 22 Oct 2003 11:56:08 +0000 (11:56 +0000)]
make --disable-eprt work, based on Gisle Vanem's patch

21 years agoDylan Ellicott added the vc-libcurl-ssl-dll target
Daniel Stenberg [Wed, 22 Oct 2003 11:26:58 +0000 (11:26 +0000)]
Dylan Ellicott added the vc-libcurl-ssl-dll target

21 years agoDylan Ellicott added the release-libcurl-ssl-dll target
Daniel Stenberg [Wed, 22 Oct 2003 11:26:41 +0000 (11:26 +0000)]
Dylan Ellicott added the release-libcurl-ssl-dll target

21 years agoDo the auth stuff at the end-of-headers and not at the start-of-body, as
Daniel Stenberg [Wed, 22 Oct 2003 11:15:48 +0000 (11:15 +0000)]
Do the auth stuff at the end-of-headers and not at the start-of-body, as
we might not get a body when we get a 401 with a set of WWW-Authenticate:
headers. This fixes the problem Kevin Roth detected in 7.10.8-pre4 and pre5.
Verified by test case 91.

21 years agoModified to be able to repeat Kevin Roth's problem
Daniel Stenberg [Wed, 22 Oct 2003 11:12:30 +0000 (11:12 +0000)]
Modified to be able to repeat Kevin Roth's problem

21 years agoAndres
Daniel Stenberg [Tue, 21 Oct 2003 14:15:10 +0000 (14:15 +0000)]
Andres

21 years agoupdated for mingw32
Daniel Stenberg [Tue, 21 Oct 2003 14:14:25 +0000 (14:14 +0000)]
updated for mingw32

21 years agopre5
Daniel Stenberg [Tue, 21 Oct 2003 14:11:25 +0000 (14:11 +0000)]
pre5

21 years agomodified test 91 to look more like Kevin Roth's error case
Daniel Stenberg [Tue, 21 Oct 2003 14:08:16 +0000 (14:08 +0000)]
modified test 91 to look more like Kevin Roth's error case

21 years agotest case 91 added, an attempt to repeat a problem reported by Kevin Roth
Daniel Stenberg [Tue, 21 Oct 2003 06:56:51 +0000 (06:56 +0000)]
test case 91 added, an attempt to repeat a problem reported by Kevin Roth
on Oct 20, 2003.

21 years agoconn->user and conn->passwd will now always be set to point to something.
Daniel Stenberg [Tue, 21 Oct 2003 06:34:15 +0000 (06:34 +0000)]
conn->user and conn->passwd will now always be set to point to something.
If not user or password is set, they will point to a "" string.

21 years agono colons in user names with USERPWD
Daniel Stenberg [Tue, 21 Oct 2003 06:06:32 +0000 (06:06 +0000)]
no colons in user names with USERPWD

21 years agoallow no user and password for proxy too, Basic
Daniel Stenberg [Mon, 20 Oct 2003 20:32:08 +0000 (20:32 +0000)]
allow no user and password for proxy too, Basic

21 years agoallow no user and no passwd when doing basic auth
Daniel Stenberg [Mon, 20 Oct 2003 20:30:40 +0000 (20:30 +0000)]
allow no user and no passwd when doing basic auth

21 years agolock the DNS cache properly before adding an entry when using asynch DNS
Daniel Stenberg [Mon, 20 Oct 2003 08:45:33 +0000 (08:45 +0000)]
lock the DNS cache properly before adding an entry when using asynch DNS

21 years agorun autoconf in the ares dir as well if the dir is present, after it has
Daniel Stenberg [Mon, 20 Oct 2003 08:25:12 +0000 (08:25 +0000)]
run autoconf in the ares dir as well if the dir is present, after it has
been run "as usual"

21 years agoGeorg Horn patched Curl_read()
Daniel Stenberg [Sun, 19 Oct 2003 17:54:51 +0000 (17:54 +0000)]
Georg Horn patched Curl_read()

21 years agobetter error output on SSL errors when receiving data - Georg Horn patch
Daniel Stenberg [Sun, 19 Oct 2003 17:38:51 +0000 (17:38 +0000)]
better error output on SSL errors when receiving data - Georg Horn patch

21 years agofixed the bug my previous change introduced
Daniel Stenberg [Sun, 19 Oct 2003 05:42:49 +0000 (05:42 +0000)]
fixed the bug my previous change introduced

21 years agominor fix to not shadow a variable
Daniel Stenberg [Sat, 18 Oct 2003 20:38:18 +0000 (20:38 +0000)]
minor fix to not shadow a variable

21 years agobuilds warning-free with -Wshadow now
Daniel Stenberg [Sat, 18 Oct 2003 20:35:03 +0000 (20:35 +0000)]
builds warning-free with -Wshadow now

21 years agodon't shadow 'socket'
Daniel Stenberg [Sat, 18 Oct 2003 20:34:33 +0000 (20:34 +0000)]
don't shadow 'socket'

21 years agofixed gcc -Wshadow warnings
Daniel Stenberg [Sat, 18 Oct 2003 20:28:53 +0000 (20:28 +0000)]
fixed gcc -Wshadow warnings

21 years agoremoved gcc -Wshadow warning
Daniel Stenberg [Sat, 18 Oct 2003 20:24:54 +0000 (20:24 +0000)]
removed gcc -Wshadow warning

21 years agomemory leak
Daniel Stenberg [Sat, 18 Oct 2003 20:24:20 +0000 (20:24 +0000)]
memory leak

21 years agogcc -Wshadow complaints fixed
Daniel Stenberg [Sat, 18 Oct 2003 20:14:33 +0000 (20:14 +0000)]
gcc -Wshadow complaints fixed

21 years agocompiler warning fix
Daniel Stenberg [Sat, 18 Oct 2003 20:14:21 +0000 (20:14 +0000)]
compiler warning fix

21 years agoprevent compiler warnings with relly picky compiler options
Daniel Stenberg [Sat, 18 Oct 2003 20:13:54 +0000 (20:13 +0000)]
prevent compiler warnings with relly picky compiler options

21 years agoDominick Meglio pointed out these files should be removed from here
Daniel Stenberg [Sat, 18 Oct 2003 19:40:58 +0000 (19:40 +0000)]
Dominick Meglio pointed out these files should be removed from here

21 years ago7.10.8-pre4
Daniel Stenberg [Sat, 18 Oct 2003 12:04:38 +0000 (12:04 +0000)]
7.10.8-pre4

21 years ago1. read the version from the command line
Daniel Stenberg [Sat, 18 Oct 2003 12:00:34 +0000 (12:00 +0000)]
1. read the version from the command line
2. make the libcurl and curl version the same

21 years agoAdded a few undocumented errors
Daniel Stenberg [Sat, 18 Oct 2003 11:53:42 +0000 (11:53 +0000)]
Added a few undocumented errors

21 years agonicer pdf generation
Daniel Stenberg [Fri, 17 Oct 2003 13:31:39 +0000 (13:31 +0000)]
nicer pdf generation

21 years agoDominick Meglio implemented CURLOPT_MAXFILESIZE and --max-filesize.
Daniel Stenberg [Fri, 17 Oct 2003 13:11:00 +0000 (13:11 +0000)]
Dominick Meglio implemented CURLOPT_MAXFILESIZE and --max-filesize.

21 years agotypecasts to prevent warnings
Daniel Stenberg [Fri, 17 Oct 2003 12:44:54 +0000 (12:44 +0000)]
typecasts to prevent warnings

21 years agocleaning
Daniel Stenberg [Fri, 17 Oct 2003 12:37:15 +0000 (12:37 +0000)]
cleaning

21 years agoempty path parts in FTP URLs
Daniel Stenberg [Fri, 17 Oct 2003 12:21:48 +0000 (12:21 +0000)]
empty path parts in FTP URLs

21 years agoThe 100-continue and no-more-response bug
Daniel Stenberg [Fri, 17 Oct 2003 11:36:41 +0000 (11:36 +0000)]
The 100-continue and no-more-response bug

21 years agomake empty names look fine in verbose output
Daniel Stenberg [Fri, 17 Oct 2003 09:29:30 +0000 (09:29 +0000)]
make empty names look fine in verbose output

21 years agomake no user or no password just mean blank fields, not aborted operation
Daniel Stenberg [Fri, 17 Oct 2003 09:29:06 +0000 (09:29 +0000)]
make no user or no password just mean blank fields, not aborted operation

21 years agofinally we support >128 letter passwords so this test was fixed to work
Daniel Stenberg [Fri, 17 Oct 2003 09:28:32 +0000 (09:28 +0000)]
finally we support >128 letter passwords so this test was fixed to work

21 years agoo the name and password arrays are 256 bytes, so let's accept that lengthy
Daniel Stenberg [Fri, 17 Oct 2003 09:28:00 +0000 (09:28 +0000)]
o the name and password arrays are 256 bytes, so let's accept that lengthy
  input
o have ->passwd and ->name be NULL if no name/passwd was given
o only set default user+password for FTP if no userpwd was given

21 years agomade the code deal with empty name and password
Daniel Stenberg [Fri, 17 Oct 2003 09:26:28 +0000 (09:26 +0000)]
made the code deal with empty name and password

21 years agoignore these too
Daniel Stenberg [Fri, 17 Oct 2003 07:10:06 +0000 (07:10 +0000)]
ignore these too

21 years agoverbose auth info
Daniel Stenberg [Fri, 17 Oct 2003 07:07:06 +0000 (07:07 +0000)]
verbose auth info

21 years agoshow info text (verbose) about auth type and user name in use
Daniel Stenberg [Fri, 17 Oct 2003 07:05:26 +0000 (07:05 +0000)]
show info text (verbose) about auth type and user name in use

21 years agomade the password prompt nicer
Daniel Stenberg [Fri, 17 Oct 2003 07:04:56 +0000 (07:04 +0000)]
made the password prompt nicer

21 years agodefine HAVE_SYS_SOCKET_H if that file is present. This is needed when we
Daniel Stenberg [Fri, 17 Oct 2003 06:59:48 +0000 (06:59 +0000)]
define HAVE_SYS_SOCKET_H if that file is present. This is needed when we
#include "../lib/memdebug.h" for memory debug builds.

21 years agoturned this into a list of documents/standards curl adheres to
Daniel Stenberg [Thu, 16 Oct 2003 15:04:06 +0000 (15:04 +0000)]
turned this into a list of documents/standards curl adheres to

21 years agosubjectAltName and passwd changes
Daniel Stenberg [Thu, 16 Oct 2003 14:15:34 +0000 (14:15 +0000)]
subjectAltName and passwd changes

21 years agoremoved the passwd options that are no longer supported
Daniel Stenberg [Thu, 16 Oct 2003 14:14:45 +0000 (14:14 +0000)]
removed the passwd options that are no longer supported

21 years agopassword prompting gone from libcurl, fixed for ntlm
Daniel Stenberg [Thu, 16 Oct 2003 14:13:08 +0000 (14:13 +0000)]
password prompting gone from libcurl, fixed for ntlm

21 years agoAdded support for password prompting if only used name is given on the
Daniel Stenberg [Thu, 16 Oct 2003 14:09:39 +0000 (14:09 +0000)]
Added support for password prompting if only used name is given on the
command line.

21 years agopassword promting support removed from libcurl
Daniel Stenberg [Thu, 16 Oct 2003 14:08:59 +0000 (14:08 +0000)]
password promting support removed from libcurl

21 years agorewritten alternative name check
Daniel Stenberg [Thu, 16 Oct 2003 13:44:34 +0000 (13:44 +0000)]
rewritten alternative name check

21 years agothe previous fix left this compiler error
Daniel Stenberg [Wed, 15 Oct 2003 20:37:00 +0000 (20:37 +0000)]
the previous fix left this compiler error

21 years agobad license situation for the altname patch
Daniel Stenberg [Wed, 15 Oct 2003 14:42:11 +0000 (14:42 +0000)]
bad license situation for the altname patch

21 years agonow libcurl runs better multi-threaded on windows
Daniel Stenberg [Wed, 15 Oct 2003 11:44:34 +0000 (11:44 +0000)]
now libcurl runs better multi-threaded on windows

21 years agoAvoid doing getsockopt() on Windows to verify connects. It seems that this
Daniel Stenberg [Wed, 15 Oct 2003 11:42:57 +0000 (11:42 +0000)]
Avoid doing getsockopt() on Windows to verify connects. It seems that this
hogs Windows machines when libcurl is being used multi-threaded (with > ~50
threads). Andrew Fuller helped us verify and test this.

According to a MSDN web page on connect(), it returns 0 when the connect
is done and thus we don't need the getsockopt() call anyway on Windows.