platform/upstream/curl.git
21 years ago7.10.3-pre4
Daniel Stenberg [Thu, 9 Jan 2003 10:36:24 +0000 (10:36 +0000)]
7.10.3-pre4

21 years agorename the curl share error enum prefix
Daniel Stenberg [Thu, 9 Jan 2003 10:26:29 +0000 (10:26 +0000)]
rename the curl share error enum prefix

21 years agoUpdated more and now looks and and the API possibly works almost like the
Daniel Stenberg [Thu, 9 Jan 2003 10:21:03 +0000 (10:21 +0000)]
Updated more and now looks and and the API possibly works almost like the
design document specifies. There is still no code inside that uses this.

21 years ago7+8 jan 2003
Daniel Stenberg [Thu, 9 Jan 2003 09:53:08 +0000 (09:53 +0000)]
7+8 jan 2003

21 years agoupdated to use the modified share-types
Daniel Stenberg [Wed, 8 Jan 2003 15:50:52 +0000 (15:50 +0000)]
updated to use the modified share-types

21 years agocleaned up the share data types and prototypes to be more in line what
Daniel Stenberg [Wed, 8 Jan 2003 15:50:06 +0000 (15:50 +0000)]
cleaned up the share data types and prototypes to be more in line what
the design draft mentioned and what I think is fit

21 years agomkdir() fix for win32
Daniel Stenberg [Wed, 8 Jan 2003 15:04:42 +0000 (15:04 +0000)]
mkdir() fix for win32

21 years agonah, include test.h instead
Daniel Stenberg [Wed, 8 Jan 2003 09:37:35 +0000 (09:37 +0000)]
nah, include test.h instead

21 years agoinclude curl.h without directory
Daniel Stenberg [Wed, 8 Jan 2003 09:33:19 +0000 (09:33 +0000)]
include curl.h without directory

21 years agofixed a very, very rare and very, very little memory leak
Jean-Philippe Barette-LaPierre [Wed, 8 Jan 2003 02:27:47 +0000 (02:27 +0000)]
fixed a very, very rare and very, very little memory leak

21 years agoPhilippe Raoult's fix to handle wildcard certificate name checks
Daniel Stenberg [Tue, 7 Jan 2003 16:33:11 +0000 (16:33 +0000)]
Philippe Raoult's fix to handle wildcard certificate name checks

21 years agoSimon Liu's HTTP200ALIASES-patch!
Daniel Stenberg [Tue, 7 Jan 2003 16:15:53 +0000 (16:15 +0000)]
Simon Liu's HTTP200ALIASES-patch!

21 years agostuff
Daniel Stenberg [Tue, 7 Jan 2003 15:40:01 +0000 (15:40 +0000)]
stuff

21 years agoclarified error code 19
Daniel Stenberg [Tue, 7 Jan 2003 15:39:38 +0000 (15:39 +0000)]
clarified error code 19

21 years agoOnly output valid filetime.
Daniel Stenberg [Tue, 7 Jan 2003 11:25:44 +0000 (11:25 +0000)]
Only output valid filetime.
Return file-error if 550 is returned when trying MDTM

21 years agowhen sending an error message to the debugfunction, we append a newline so
Daniel Stenberg [Tue, 7 Jan 2003 11:23:52 +0000 (11:23 +0000)]
when sending an error message to the debugfunction, we append a newline so
that the output looks better

21 years agofixed the create_dir_hierarchy() to not use uninited memory, as noticed by
Daniel Stenberg [Tue, 7 Jan 2003 09:35:57 +0000 (09:35 +0000)]
fixed the create_dir_hierarchy() to not use uninited memory, as noticed by
Matthew Blain.

21 years agoMatthew Blain's improvements for debug builds
Daniel Stenberg [Tue, 7 Jan 2003 09:31:45 +0000 (09:31 +0000)]
Matthew Blain's improvements for debug builds

21 years agobetter ignore
Daniel Stenberg [Tue, 7 Jan 2003 09:30:05 +0000 (09:30 +0000)]
better ignore

21 years agoignore lib504 too
Daniel Stenberg [Tue, 7 Jan 2003 09:27:32 +0000 (09:27 +0000)]
ignore lib504 too

21 years agoupdated
Daniel Stenberg [Tue, 7 Jan 2003 07:54:14 +0000 (07:54 +0000)]
updated

21 years agoindent fix
Daniel Stenberg [Mon, 6 Jan 2003 12:41:33 +0000 (12:41 +0000)]
indent fix

21 years agofix bug (?) :-)
Sterling Hughes [Mon, 6 Jan 2003 06:17:15 +0000 (06:17 +0000)]
fix bug (?) :-)

previously, if you called curl_easy_perform and then set the global dns
cache, the global cache wouldn't be used.  I don't see this really happening
in practice, but this code allows you to do it.

21 years agoreturn -1 even if SSL_pending() doesn't return non-zero, as we don't really
Daniel Stenberg [Sun, 29 Dec 2002 16:27:31 +0000 (16:27 +0000)]
return -1 even if SSL_pending() doesn't return non-zero, as we don't really
care how many bytes that is readable NOW. Philippe Raoult reported the
bug in 7.10.3-pre3.

21 years agoMarc Herbert's suggstion: mention that insecure is ignored if cacert or capath
Daniel Stenberg [Sun, 29 Dec 2002 16:23:52 +0000 (16:23 +0000)]
Marc Herbert's suggstion: mention that insecure is ignored if cacert or capath
is used.

21 years agoexample configure command line
Daniel Stenberg [Fri, 20 Dec 2002 16:00:56 +0000 (16:00 +0000)]
example configure command line

21 years agoUse AM_MAINTAINER_MODE which thus makes less maintainer stuff in the default
Daniel Stenberg [Fri, 20 Dec 2002 15:54:24 +0000 (15:54 +0000)]
Use AM_MAINTAINER_MODE which thus makes less maintainer stuff in the default
makefile when --enable-maintainer-mode is not used.

21 years ago7.10.3-commit
Daniel Stenberg [Fri, 20 Dec 2002 09:03:38 +0000 (09:03 +0000)]
7.10.3-commit

21 years agofixes
Daniel Stenberg [Thu, 19 Dec 2002 16:37:07 +0000 (16:37 +0000)]
fixes

21 years agoremoved fruitless attempts to overload some targets
Daniel Stenberg [Thu, 19 Dec 2002 16:36:35 +0000 (16:36 +0000)]
removed fruitless attempts to overload some targets

21 years agoCurl_base64_decode() fixed by Matthew B
Daniel Stenberg [Thu, 19 Dec 2002 16:02:51 +0000 (16:02 +0000)]
Curl_base64_decode() fixed by Matthew B

21 years agoFixed the usage of SSL_read() to properly return -1 if the EWOULDBLOCK
Daniel Stenberg [Thu, 19 Dec 2002 15:45:15 +0000 (15:45 +0000)]
Fixed the usage of SSL_read() to properly return -1 if the EWOULDBLOCK
situation occurs, which it previously didn't!

This was reptoed by Evan Jordan in bug report #653022.

Also, if ERROR_SYSCALL is returned from SSL_write(), include the errno number
in the error string for easier error detection.

21 years agoCURLOPT_DNS_USE_GLOBAL_CACHE is not thread-safe
Daniel Stenberg [Thu, 19 Dec 2002 15:22:36 +0000 (15:22 +0000)]
CURLOPT_DNS_USE_GLOBAL_CACHE is not thread-safe

21 years agoCURLE_HTTP_NOT_FOUND => CURLE_HTTP_RETURNED_ERROR
Daniel Stenberg [Wed, 18 Dec 2002 16:51:02 +0000 (16:51 +0000)]
CURLE_HTTP_NOT_FOUND => CURLE_HTTP_RETURNED_ERROR

21 years agoRemoved weird special multi interface condition that caused bug report
Daniel Stenberg [Tue, 17 Dec 2002 10:05:00 +0000 (10:05 +0000)]
Removed weird special multi interface condition that caused bug report
#651464.

21 years agodon't install the test programs
Daniel Stenberg [Tue, 17 Dec 2002 09:40:13 +0000 (09:40 +0000)]
don't install the test programs

21 years agowritefunction data is not zero terminated
Daniel Stenberg [Mon, 16 Dec 2002 17:33:21 +0000 (17:33 +0000)]
writefunction data is not zero terminated

21 years agoremoved junk
Daniel Stenberg [Mon, 16 Dec 2002 15:32:37 +0000 (15:32 +0000)]
removed junk

21 years agoAdded test case 504, using multi interface and a local proxy without anything
Daniel Stenberg [Mon, 16 Dec 2002 15:30:10 +0000 (15:30 +0000)]
Added test case 504, using multi interface and a local proxy without anything
listening on the port we use.

21 years agobetter desc
Daniel Stenberg [Mon, 16 Dec 2002 15:05:31 +0000 (15:05 +0000)]
better desc

21 years agomistake, this only requires http
Daniel Stenberg [Mon, 16 Dec 2002 14:50:10 +0000 (14:50 +0000)]
mistake, this only requires http

21 years agothe hostip.c commit
Daniel Stenberg [Mon, 16 Dec 2002 11:40:57 +0000 (11:40 +0000)]
the hostip.c commit

21 years agoEAGAIN on older (correct) glibc versions indicate a problem and not the need
Daniel Stenberg [Mon, 16 Dec 2002 11:33:44 +0000 (11:33 +0000)]
EAGAIN on older (correct) glibc versions indicate a problem and not the need
for a bigger buffer and this is indeed badness for us. Making this work
on both old and new glibc versions require an ugly loop that in its worse
form cause 45 bad loops when using the correct glibc and a non-resolving
host name... :-/

We want a better fix. Badly.

21 years agochanges from last week
Daniel Stenberg [Mon, 16 Dec 2002 10:55:18 +0000 (10:55 +0000)]
changes from last week

21 years agocut off -O properly when building for debug
Daniel Stenberg [Mon, 16 Dec 2002 10:31:25 +0000 (10:31 +0000)]
cut off -O properly when building for debug
setup the Makefile in tests/libtest/

21 years agodocumented the %-variables
Daniel Stenberg [Fri, 13 Dec 2002 16:25:39 +0000 (16:25 +0000)]
documented the %-variables

21 years agofixed another space issue
Daniel Stenberg [Fri, 13 Dec 2002 16:24:57 +0000 (16:24 +0000)]
fixed another space issue

21 years agoplease mr CVS ignore these
Daniel Stenberg [Fri, 13 Dec 2002 16:24:04 +0000 (16:24 +0000)]
please mr CVS ignore these

21 years agoset up arg2 to point to argv[2] to be used at will by programs
Daniel Stenberg [Fri, 13 Dec 2002 16:22:57 +0000 (16:22 +0000)]
set up arg2 to point to argv[2] to be used at will by programs

21 years agoadded 503
Daniel Stenberg [Fri, 13 Dec 2002 16:22:17 +0000 (16:22 +0000)]
added 503

21 years agoused this to verify bug report 651460
Daniel Stenberg [Fri, 13 Dec 2002 16:21:18 +0000 (16:21 +0000)]
used this to verify bug report 651460

21 years agoadded support for CONNECT, both good and bad
Daniel Stenberg [Fri, 13 Dec 2002 16:20:07 +0000 (16:20 +0000)]
added support for CONNECT, both good and bad

21 years agotest case 503 entered the dir
Daniel Stenberg [Fri, 13 Dec 2002 16:17:27 +0000 (16:17 +0000)]
test case 503 entered the dir

21 years agoconn->bits.tcpconnect now keeps track of if this connection is connected
Daniel Stenberg [Fri, 13 Dec 2002 16:15:19 +0000 (16:15 +0000)]
conn->bits.tcpconnect now keeps track of if this connection is connected
or not

21 years agoinclude files without the curl/ to reduce the risk of us including the wrong
Daniel Stenberg [Fri, 13 Dec 2002 14:14:35 +0000 (14:14 +0000)]
include files without the curl/ to reduce the risk of us including the wrong
set of include files during tests

21 years agoEvan Jordan's fix for a memory leak. Bug report 650989.
Daniel Stenberg [Fri, 13 Dec 2002 14:08:49 +0000 (14:08 +0000)]
Evan Jordan's fix for a memory leak. Bug report 650989.

21 years agomake a little work-around for file:// in _is_connected() and voila, now the
Daniel Stenberg [Fri, 13 Dec 2002 13:47:58 +0000 (13:47 +0000)]
make a little work-around for file:// in _is_connected() and voila, now the
multi interface works with file:// URLs fine (previously it crashed). This
won't make it work on Windows though...

21 years agoone slash too many
Daniel Stenberg [Fri, 13 Dec 2002 13:41:28 +0000 (13:41 +0000)]
one slash too many

21 years agolib502.c for multi interface tests on a single URL without select()
Daniel Stenberg [Fri, 13 Dec 2002 13:40:25 +0000 (13:40 +0000)]
lib502.c for multi interface tests on a single URL without select()

21 years agotest 502, multi interface with file://
Daniel Stenberg [Fri, 13 Dec 2002 13:39:39 +0000 (13:39 +0000)]
test 502, multi interface with file://

21 years agobail out on crap received, makes test case 402 *NOT* ruin the test series
Daniel Stenberg [Thu, 12 Dec 2002 18:07:10 +0000 (18:07 +0000)]
bail out on crap received, makes test case 402 *NOT* ruin the test series
anymore!

21 years agomissing space added, nows run old tests fine again
Daniel Stenberg [Thu, 12 Dec 2002 16:46:45 +0000 (16:46 +0000)]
missing space added, nows run old tests fine again

21 years agoremove test piece
Daniel Stenberg [Thu, 12 Dec 2002 13:44:26 +0000 (13:44 +0000)]
remove test piece

21 years agomake ftps and https invoke both necessary servers
Daniel Stenberg [Thu, 12 Dec 2002 13:42:21 +0000 (13:42 +0000)]
make ftps and https invoke both necessary servers

21 years agofixes
Daniel Stenberg [Thu, 12 Dec 2002 13:40:16 +0000 (13:40 +0000)]
fixes

21 years agolink the test tools this way instead
Daniel Stenberg [Thu, 12 Dec 2002 13:39:02 +0000 (13:39 +0000)]
link the test tools this way instead

21 years agono more
Daniel Stenberg [Thu, 12 Dec 2002 13:36:50 +0000 (13:36 +0000)]
no more

21 years agocorrected
Daniel Stenberg [Thu, 12 Dec 2002 12:49:29 +0000 (12:49 +0000)]
corrected

21 years agonew subdir added 'libtest'
Daniel Stenberg [Thu, 12 Dec 2002 12:20:33 +0000 (12:20 +0000)]
new subdir added 'libtest'

21 years agosupports the new 'tool' and 'server' tags
Daniel Stenberg [Thu, 12 Dec 2002 12:20:06 +0000 (12:20 +0000)]
supports the new 'tool' and 'server' tags

21 years agodescribe the new sections added for (better) libcurl testing
Daniel Stenberg [Thu, 12 Dec 2002 12:15:02 +0000 (12:15 +0000)]
describe the new sections added for (better) libcurl testing

21 years ago500 + 501 added
Daniel Stenberg [Thu, 12 Dec 2002 12:13:18 +0000 (12:13 +0000)]
500 + 501 added

21 years agorun tiny specific libcurl-testing tools
Daniel Stenberg [Thu, 12 Dec 2002 12:12:01 +0000 (12:12 +0000)]
run tiny specific libcurl-testing tools

21 years agoThe first ever attempts to do pure libcurl test cases
Daniel Stenberg [Thu, 12 Dec 2002 12:11:16 +0000 (12:11 +0000)]
The first ever attempts to do pure libcurl test cases

21 years agoDeal with HTML where ' is used instead of "
Daniel Stenberg [Thu, 12 Dec 2002 11:43:59 +0000 (11:43 +0000)]
Deal with HTML where ' is used instead of "
Cut off name from option

21 years agomoved the includes to outside the extern "C" stuff
Daniel Stenberg [Wed, 11 Dec 2002 11:42:40 +0000 (11:42 +0000)]
moved the includes to outside the extern "C" stuff
decreased the write buffer size to 16KB to perform a lot better on Windows(!)

21 years agorecent fluff
Daniel Stenberg [Tue, 10 Dec 2002 13:11:24 +0000 (13:11 +0000)]
recent fluff

21 years agoThe initial HTTP request can now be sent in multiple parts, as part of the
Daniel Stenberg [Tue, 10 Dec 2002 13:10:00 +0000 (13:10 +0000)]
The initial HTTP request can now be sent in multiple parts, as part of the
regular transfer process. This required some new tweaks, like for example
we need to be able to tell the tranfer loop to not chunky-encode uploads
while we're transferring the rest of the request...

21 years agosend_buffer is no more here
Daniel Stenberg [Tue, 10 Dec 2002 13:08:22 +0000 (13:08 +0000)]
send_buffer is no more here

21 years agoadded test56, nearly 100KB big!
Daniel Stenberg [Tue, 10 Dec 2002 13:01:05 +0000 (13:01 +0000)]
added test56, nearly 100KB big!

21 years agoTest case for sending insanely big HTTP requests. Mainly done this way to
Daniel Stenberg [Tue, 10 Dec 2002 13:00:32 +0000 (13:00 +0000)]
Test case for sending insanely big HTTP requests. Mainly done this way to
make sure that it isn't all sent off in one single send() but instead
really tests the multiple-part-send logic.

21 years agomore logging, now logs the full response too, basic support for dealing
Daniel Stenberg [Tue, 10 Dec 2002 12:59:16 +0000 (12:59 +0000)]
more logging, now logs the full response too, basic support for dealing
with chunked transfer-encoding uploads added

21 years agoA normal POST now provides data to the main transfer loop via the usual
Daniel Stenberg [Mon, 9 Dec 2002 16:05:57 +0000 (16:05 +0000)]
A normal POST now provides data to the main transfer loop via the usual
read callback, and thus won't put a lot of stress on the request sending
code (which currently does an ugly loop).

21 years agoThe fread() callback pointer and associated pointer is now stored in the
Daniel Stenberg [Mon, 9 Dec 2002 15:37:54 +0000 (15:37 +0000)]
The fread() callback pointer and associated pointer is now stored in the
connectdata struct instead, and is no longer modified within the 'set' struct
as previously (which was a really BAAAD thing).

21 years agoAdded a default headers section and also made some minor details more
Daniel Stenberg [Mon, 9 Dec 2002 14:39:01 +0000 (14:39 +0000)]
Added a default headers section and also made some minor details more
up-to-date with recent changes.

21 years agobetter errno include and no extern
Daniel Stenberg [Thu, 5 Dec 2002 19:39:17 +0000 (19:39 +0000)]
better errno include and no extern

21 years agoread and write as much as possible until end of data or EWOULDBLOCK before
Daniel Stenberg [Thu, 5 Dec 2002 14:26:30 +0000 (14:26 +0000)]
read and write as much as possible until end of data or EWOULDBLOCK before
returning back to the select() loop. Consider this a test so far.

21 years agodeal with spaces in name and value tags a lot better!
Daniel Stenberg [Thu, 5 Dec 2002 12:54:08 +0000 (12:54 +0000)]
deal with spaces in name and value tags a lot better!

21 years agochanged proto for Curl_krb_kauth()
Daniel Stenberg [Thu, 5 Dec 2002 11:26:20 +0000 (11:26 +0000)]
changed proto for Curl_krb_kauth()

21 years agoSolaris needs errno as an extern int.
Daniel Stenberg [Thu, 5 Dec 2002 11:25:36 +0000 (11:25 +0000)]
Solaris needs errno as an extern int.

21 years agomake WIN32 defined for Borland properly, as told by Alexander J. Oss
Daniel Stenberg [Wed, 4 Dec 2002 11:06:17 +0000 (11:06 +0000)]
make WIN32 defined for Borland properly, as told by Alexander J. Oss

21 years agocalled SSLCERTS now
Daniel Stenberg [Wed, 4 Dec 2002 09:53:09 +0000 (09:53 +0000)]
called SSLCERTS now

21 years ago7.10.3-pre2
Daniel Stenberg [Wed, 4 Dec 2002 09:09:26 +0000 (09:09 +0000)]
7.10.3-pre2

21 years agoThe waiting for the 226 or 250 line expected to come after a transfer is
Daniel Stenberg [Wed, 4 Dec 2002 08:56:55 +0000 (08:56 +0000)]
The waiting for the 226 or 250 line expected to come after a transfer is
complete is now only made for 60 seconds and if no data was received during
those 60 seconds, we store a special error message (preparing to make this
a special error code) as this most likely means that the control connection
has died while we were transferring data.

21 years agomissing }
Daniel Stenberg [Tue, 3 Dec 2002 12:41:10 +0000 (12:41 +0000)]
missing }

21 years agoclarified
Daniel Stenberg [Tue, 3 Dec 2002 12:40:12 +0000 (12:40 +0000)]
clarified

21 years agoJeff pointed out this flaw in the example
Daniel Stenberg [Tue, 3 Dec 2002 12:34:43 +0000 (12:34 +0000)]
Jeff pointed out this flaw in the example

21 years ago-@ is no longer an official shortcut for --create-dirs
Daniel Stenberg [Tue, 3 Dec 2002 11:13:12 +0000 (11:13 +0000)]
-@ is no longer an official shortcut for --create-dirs

21 years agodon't officially use -@ for --create-dirs, only use the long form
Daniel Stenberg [Tue, 3 Dec 2002 11:12:18 +0000 (11:12 +0000)]
don't officially use -@ for --create-dirs, only use the long form

21 years agoclarify the DEBUGFUNCTION data not being zero terminated
Daniel Stenberg [Tue, 3 Dec 2002 10:37:20 +0000 (10:37 +0000)]
clarify the DEBUGFUNCTION data not being zero terminated