platform/upstream/curl.git
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

21 years agoCurl_GetFTPResponse() takes a different set of parameters and now return a
Daniel Stenberg [Tue, 3 Dec 2002 10:25:31 +0000 (10:25 +0000)]
Curl_GetFTPResponse() takes a different set of parameters and now return a
proper CURLcode. The default timeout for reading one response is now also
possible to change while running.

21 years agoupdated to reality
Daniel Stenberg [Tue, 3 Dec 2002 09:32:57 +0000 (09:32 +0000)]
updated to reality

21 years agoNicolas Berloquin's fix of his previous dir creation patch
Daniel Stenberg [Tue, 3 Dec 2002 08:07:52 +0000 (08:07 +0000)]
Nicolas Berloquin's fix of his previous dir creation patch

21 years agoNicolas Berloquin's description of his -@/--create-dirs fix
Daniel Stenberg [Mon, 2 Dec 2002 14:40:54 +0000 (14:40 +0000)]
Nicolas Berloquin's description of his -@/--create-dirs fix

21 years agoNicolas Berloquin's added code for dealing with -@/--create-dirs to create
Daniel Stenberg [Mon, 2 Dec 2002 14:37:59 +0000 (14:37 +0000)]
Nicolas Berloquin's added code for dealing with -@/--create-dirs to create
the necessary directories as specified with -o.

21 years agoif the PWD reply parser failed, we leaked memory
Daniel Stenberg [Mon, 2 Dec 2002 07:18:24 +0000 (07:18 +0000)]
if the PWD reply parser failed, we leaked memory

21 years agoclarified SSL_VERIFYPEER and SSL_VERIFYHOST a bit, thanks to Soren Spies
Daniel Stenberg [Mon, 2 Dec 2002 06:47:16 +0000 (06:47 +0000)]
clarified SSL_VERIFYPEER and SSL_VERIFYHOST a bit, thanks to Soren Spies

21 years agowrapped the line for PRIVATE nicer
Daniel Stenberg [Sun, 1 Dec 2002 11:23:06 +0000 (11:23 +0000)]
wrapped the line for PRIVATE nicer

21 years agomore to ignore
Daniel Stenberg [Sun, 1 Dec 2002 11:21:36 +0000 (11:21 +0000)]
more to ignore

21 years agoonly use Content-Length: header if not transfering data chunked
Daniel Stenberg [Sun, 1 Dec 2002 11:20:41 +0000 (11:20 +0000)]
only use Content-Length: header if not transfering data chunked

21 years agomention CVS-INFO for more info when checked out from CVS
Daniel Stenberg [Sat, 30 Nov 2002 16:00:10 +0000 (16:00 +0000)]
mention CVS-INFO for more info when checked out from CVS
removed old section about problems with old autoconfs, I don't think that
happens anymore

21 years agostuff done since the 7.10.2 release
Daniel Stenberg [Fri, 29 Nov 2002 08:29:21 +0000 (08:29 +0000)]
stuff done since the 7.10.2 release

21 years agolet the Curl_FormReader() return 0 when it reaches end of data to that the
Daniel Stenberg [Fri, 29 Nov 2002 08:12:20 +0000 (08:12 +0000)]
let the Curl_FormReader() return 0 when it reaches end of data to that the
chunked transfer work

21 years agofix the hash init to call the correct dns cleanup function
Daniel Stenberg [Thu, 28 Nov 2002 15:48:54 +0000 (15:48 +0000)]
fix the hash init to call the correct dns cleanup function

21 years agoadded compareheader proto
Daniel Stenberg [Thu, 28 Nov 2002 15:48:23 +0000 (15:48 +0000)]
added compareheader proto

21 years agocompareheader() was moved over to http.c and got a Curl_ prefix
Daniel Stenberg [Thu, 28 Nov 2002 15:46:22 +0000 (15:46 +0000)]
compareheader() was moved over to http.c and got a Curl_ prefix

The chunked transfer upload never stopped due to a silly add before we checked
for >0!

21 years agoMoved the compareheader function into this file and added Curl_ prefix
Daniel Stenberg [Thu, 28 Nov 2002 15:45:06 +0000 (15:45 +0000)]
Moved the compareheader function into this file and added Curl_ prefix
We now check if the chunked transfer-encoding header has been added "by force"
and if so, we enabled the chunky upload!

21 years agomention how to generate patches
Daniel Stenberg [Thu, 28 Nov 2002 14:07:14 +0000 (14:07 +0000)]
mention how to generate patches

21 years agobad use of AM_CONDITIONAL removed and now configure runs better when used
Daniel Stenberg [Thu, 28 Nov 2002 13:29:42 +0000 (13:29 +0000)]
bad use of AM_CONDITIONAL removed and now configure runs better when used
with --disable-ipv6 --without-zlib

21 years agoexecve.net is an official download mirror in HK
Daniel Stenberg [Wed, 27 Nov 2002 11:59:52 +0000 (11:59 +0000)]
execve.net is an official download mirror in HK

21 years agoDan Becker fixed a minor memory leak on persistent connnections using
Daniel Stenberg [Tue, 26 Nov 2002 17:32:15 +0000 (17:32 +0000)]
Dan Becker fixed a minor memory leak on persistent connnections using
FOLLOWLOCATION and CURLOPT_USERPWD.

21 years agoremoved extra space from trace output 'Send data'
Daniel Stenberg [Tue, 26 Nov 2002 17:13:30 +0000 (17:13 +0000)]
removed extra space from trace output 'Send data'

21 years agofixed Curl_freeaddrinfo() to only free addrinfo, and added Curl_freednsinfo()
Daniel Stenberg [Tue, 26 Nov 2002 09:41:54 +0000 (09:41 +0000)]
fixed Curl_freeaddrinfo() to only free addrinfo, and added Curl_freednsinfo()
for freeing single dns cache entries

21 years agoRemoved MFC dependency in Release Build when using VC++ IDE
sm [Tue, 26 Nov 2002 02:12:27 +0000 (02:12 +0000)]
Removed MFC dependency in Release Build when using VC++ IDE

21 years agoNedelcho Stanev's work-around for SFU 3.0
Daniel Stenberg [Sun, 24 Nov 2002 19:30:21 +0000 (19:30 +0000)]
Nedelcho Stanev's work-around for SFU 3.0

21 years agobug fix for the problem Juan Ignacio Hervás discovered today
Daniel Stenberg [Fri, 22 Nov 2002 16:59:40 +0000 (16:59 +0000)]
bug fix for the problem Juan Ignacio Hervás discovered today

21 years agothis fix seems to make the '305 306' test case combination to run ok finally!
Daniel Stenberg [Fri, 22 Nov 2002 13:48:24 +0000 (13:48 +0000)]
this fix seems to make the '305 306' test case combination to run ok finally!

21 years agodon't use curl.haxx.se
Daniel Stenberg [Fri, 22 Nov 2002 07:39:15 +0000 (07:39 +0000)]
don't use curl.haxx.se

21 years agodead code removal
Daniel Stenberg [Thu, 21 Nov 2002 15:11:26 +0000 (15:11 +0000)]
dead code removal

21 years agonew name, supports <textarea> and the <option> tags within <select> better
Daniel Stenberg [Thu, 21 Nov 2002 15:09:04 +0000 (15:09 +0000)]
new name, supports <textarea> and the <option> tags within <select> better