platform/upstream/curl.git
23 years agobad directory name extractor fixed, now always free the file and directory
Daniel Stenberg [Tue, 21 Nov 2000 19:04:25 +0000 (19:04 +0000)]
bad directory name extractor fixed, now always free the file and directory
very early, as that could leak memory before

23 years agocurl_unescape() did not stop at the set length properly when %-codes were
Daniel Stenberg [Tue, 21 Nov 2000 19:01:53 +0000 (19:01 +0000)]
curl_unescape() did not stop at the set length properly when %-codes were
used

23 years agoadded a command line log that logs all command lines run in the complete
Daniel Stenberg [Tue, 21 Nov 2000 17:07:16 +0000 (17:07 +0000)]
added a command line log that logs all command lines run in the complete
test run

23 years agoFTP test case data
Daniel Stenberg [Tue, 21 Nov 2000 17:04:59 +0000 (17:04 +0000)]
FTP test case data

23 years agohttpN => protN and some other minor updates
Daniel Stenberg [Tue, 21 Nov 2000 15:51:05 +0000 (15:51 +0000)]
httpN => protN and some other minor updates

23 years agosays nothing if no errors were found
Daniel Stenberg [Tue, 21 Nov 2000 15:50:17 +0000 (15:50 +0000)]
says nothing if no errors were found

23 years agoAdded support for verifiedserver that returns a static silly string that
Daniel Stenberg [Tue, 21 Nov 2000 15:49:34 +0000 (15:49 +0000)]
Added support for verifiedserver that returns a static silly string that
allows the test script to verify that it is our test server running on the
particular port

23 years agostarts and stops both HTTP and FTP servers now
Daniel Stenberg [Tue, 21 Nov 2000 15:48:40 +0000 (15:48 +0000)]
starts and stops both HTTP and FTP servers now
checks memanalyze output better
filters PORT output when doing FTP compares

23 years agoremoved the twice free_config_all() calls
Daniel Stenberg [Tue, 21 Nov 2000 15:37:54 +0000 (15:37 +0000)]
removed the twice free_config_all() calls
made the big config struct local (big . => -> replace)

23 years agoadded some defensive code around the GetHost()'s third argument result
Daniel Stenberg [Tue, 21 Nov 2000 15:36:38 +0000 (15:36 +0000)]
added some defensive code around the GetHost()'s third argument result

23 years agoGetHost() now sets the third pointer to NULL when the lookup fails, as the
Daniel Stenberg [Tue, 21 Nov 2000 15:35:45 +0000 (15:35 +0000)]
GetHost() now sets the third pointer to NULL when the lookup fails, as the
memory is then freed in the function

23 years agowhen using PORT, we now free the host name buffer properly
Daniel Stenberg [Tue, 21 Nov 2000 15:34:40 +0000 (15:34 +0000)]
when using PORT, we now free the host name buffer properly

23 years agohttp* is now prot* since we're about to use other protocols as well
Daniel Stenberg [Tue, 21 Nov 2000 14:24:03 +0000 (14:24 +0000)]
http* is now prot* since we're about to use other protocols as well

23 years agoattempt to use a bad protocol
Daniel Stenberg [Tue, 21 Nov 2000 13:41:11 +0000 (13:41 +0000)]
attempt to use a bad protocol

23 years agoNLST does a LIST (a normal unix ftp client 'ls' becomes NLST)
Daniel Stenberg [Tue, 21 Nov 2000 13:36:55 +0000 (13:36 +0000)]
NLST does a LIST (a normal unix ftp client 'ls' becomes NLST)
multiple transfers are supported

23 years agoSTOR works!
Daniel Stenberg [Tue, 21 Nov 2000 13:22:32 +0000 (13:22 +0000)]
STOR works!

23 years agoremoved the storenonprintable function as it isn't used anymore
Daniel Stenberg [Tue, 21 Nov 2000 13:18:30 +0000 (13:18 +0000)]
removed the storenonprintable function as it isn't used anymore

23 years agofancier login text
Daniel Stenberg [Tue, 21 Nov 2000 12:54:08 +0000 (12:54 +0000)]
fancier login text
removed lots of wasted comments
cleaned up a little
STOR doesn't work

23 years agoremoved the forks, we don't need forking for single-task testing
Daniel Stenberg [Tue, 21 Nov 2000 12:00:24 +0000 (12:00 +0000)]
removed the forks, we don't need forking for single-task testing

23 years agoruntests.pl -c should be -a
Daniel Stenberg [Tue, 21 Nov 2000 11:37:58 +0000 (11:37 +0000)]
runtests.pl -c should be -a

23 years agoremoved pedantic compiler warnings
Daniel Stenberg [Tue, 21 Nov 2000 09:38:41 +0000 (09:38 +0000)]
removed pedantic compiler warnings

23 years agoremoved two unused variables and added an extra set of parentheses, done
Daniel Stenberg [Tue, 21 Nov 2000 09:31:55 +0000 (09:31 +0000)]
removed two unused variables and added an extra set of parentheses, done
to remove pedantic compiler warnings

23 years agotypecasted the argument to isspace() to int, to remove a pedantic compiler
Daniel Stenberg [Tue, 21 Nov 2000 09:31:03 +0000 (09:31 +0000)]
typecasted the argument to isspace() to int, to remove a pedantic compiler
warning

23 years agoincludes http.h for the proxytunnel stuff
Daniel Stenberg [Tue, 21 Nov 2000 09:30:07 +0000 (09:30 +0000)]
includes http.h for the proxytunnel stuff

23 years agoadded comment on a variable that is unused on some platforms
Daniel Stenberg [Tue, 21 Nov 2000 09:29:21 +0000 (09:29 +0000)]
added comment on a variable that is unused on some platforms

23 years agoflushes the log handles before fork, now the logs work too!
Daniel Stenberg [Mon, 20 Nov 2000 16:02:53 +0000 (16:02 +0000)]
flushes the log handles before fork, now the logs work too!

23 years agoQUIT works, and now I can run a unix ftp client against the server and it
Daniel Stenberg [Mon, 20 Nov 2000 14:26:09 +0000 (14:26 +0000)]
QUIT works, and now I can run a unix ftp client against the server and it
runs pretty good

23 years agoCWD runs
Daniel Stenberg [Mon, 20 Nov 2000 13:47:25 +0000 (13:47 +0000)]
CWD runs

23 years agoRETR seems to work too
Daniel Stenberg [Mon, 20 Nov 2000 13:19:22 +0000 (13:19 +0000)]
RETR seems to work too

23 years agothis is now a working ftp server, both PASV and PORT run fine, LIST works,
Daniel Stenberg [Mon, 20 Nov 2000 13:07:04 +0000 (13:07 +0000)]
this is now a working ftp server, both PASV and PORT run fine, LIST works,
RETR and STORE don't

23 years agochanged the comment for URL_MAX_LENGTH
Daniel Stenberg [Mon, 20 Nov 2000 09:40:09 +0000 (09:40 +0000)]
changed the comment for URL_MAX_LENGTH

23 years agoformfree, config file, --url, more testcases, infinite URL lengths and more
Daniel Stenberg [Mon, 20 Nov 2000 09:37:57 +0000 (09:37 +0000)]
formfree, config file, --url, more testcases, infinite URL lengths and more

23 years agoextremely long URL test
Daniel Stenberg [Mon, 20 Nov 2000 09:04:27 +0000 (09:04 +0000)]
extremely long URL test

23 years agoremoved URL size restrictions, dynamically allocates the needed buffer
Daniel Stenberg [Mon, 20 Nov 2000 08:54:32 +0000 (08:54 +0000)]
removed URL size restrictions, dynamically allocates the needed buffer
size instead

23 years agoremoved URL size restrictions
Daniel Stenberg [Mon, 20 Nov 2000 08:53:21 +0000 (08:53 +0000)]
removed URL size restrictions

23 years agothis is the first attempt of a tiny and simple ftp server in perl for curl
Daniel Stenberg [Mon, 20 Nov 2000 08:00:33 +0000 (08:00 +0000)]
this is the first attempt of a tiny and simple ftp server in perl for curl
test purposes

23 years agoadded a description about the memory checks
Daniel Stenberg [Mon, 20 Nov 2000 07:59:25 +0000 (07:59 +0000)]
added a description about the memory checks

23 years agono more "leaked" memory when this fails on various kinds of bad usage
Daniel Stenberg [Mon, 20 Nov 2000 07:54:57 +0000 (07:54 +0000)]
no more "leaked" memory when this fails on various kinds of bad usage

23 years agoAlexander Kourakos's lowercase environment variable fix
Daniel Stenberg [Mon, 20 Nov 2000 07:35:21 +0000 (07:35 +0000)]
Alexander Kourakos's lowercase environment variable fix

23 years agospell correction resolv => resolve in two error messages
Daniel Stenberg [Sat, 18 Nov 2000 16:31:27 +0000 (16:31 +0000)]
spell correction resolv => resolve in two error messages

23 years agonow supports checks for exit codes and check for memory even when curl
Daniel Stenberg [Fri, 17 Nov 2000 15:58:25 +0000 (15:58 +0000)]
now supports checks for exit codes and check for memory even when curl
returns (expected) exit code

23 years agograceful failure test
Daniel Stenberg [Fri, 17 Nov 2000 15:57:35 +0000 (15:57 +0000)]
graceful failure test

23 years agooutput FAILED properly even when -s is used
Daniel Stenberg [Fri, 17 Nov 2000 15:34:33 +0000 (15:34 +0000)]
output FAILED properly even when -s is used

23 years agoupdated to the new stdout stuff and the new -a option
Daniel Stenberg [Fri, 17 Nov 2000 15:33:54 +0000 (15:33 +0000)]
updated to the new stdout stuff and the new -a option

23 years agofixed strdup() of a NULL pointer
Daniel Stenberg [Fri, 17 Nov 2000 15:32:17 +0000 (15:32 +0000)]
fixed strdup() of a NULL pointer

23 years agonow exits and alerts on bad uses of strdup() and free()
Daniel Stenberg [Fri, 17 Nov 2000 15:31:45 +0000 (15:31 +0000)]
now exits and alerts on bad uses of strdup() and free()

23 years agoupdated to the new stdout file behaviour of runtests.pl
Daniel Stenberg [Fri, 17 Nov 2000 15:30:33 +0000 (15:30 +0000)]
updated to the new stdout file behaviour of runtests.pl

23 years agomake test in root now runs make quiet-test in the test dir
Daniel Stenberg [Fri, 17 Nov 2000 15:30:01 +0000 (15:30 +0000)]
make test in root now runs make quiet-test in the test dir

23 years agouses stricter output
Daniel Stenberg [Fri, 17 Nov 2000 15:15:48 +0000 (15:15 +0000)]
uses stricter output

23 years agobetter stdout check, full support for memory debug tests
Daniel Stenberg [Fri, 17 Nov 2000 15:07:29 +0000 (15:07 +0000)]
better stdout check, full support for memory debug tests

23 years agomultiple URL test
Daniel Stenberg [Fri, 17 Nov 2000 15:07:03 +0000 (15:07 +0000)]
multiple URL test

23 years agocurl_formfree() added
Daniel Stenberg [Fri, 17 Nov 2000 14:21:07 +0000 (14:21 +0000)]
curl_formfree() added

23 years agothis has been missing all the time...
Daniel Stenberg [Fri, 17 Nov 2000 14:11:22 +0000 (14:11 +0000)]
this has been missing all the time...

23 years agoadded curl_formfree()
Daniel Stenberg [Fri, 17 Nov 2000 14:06:24 +0000 (14:06 +0000)]
added curl_formfree()

23 years agonow includes stdlib.h
Daniel Stenberg [Fri, 17 Nov 2000 14:05:43 +0000 (14:05 +0000)]
now includes stdlib.h

23 years agomemory leak cleanup campaign
Daniel Stenberg [Fri, 17 Nov 2000 14:03:58 +0000 (14:03 +0000)]
memory leak cleanup campaign

23 years agoallows \r \n \t \v in config file parameters within quotes
Daniel Stenberg [Fri, 17 Nov 2000 10:08:39 +0000 (10:08 +0000)]
allows \r \n \t \v in config file parameters within quotes

23 years agoconfig file test
Daniel Stenberg [Fri, 17 Nov 2000 10:05:56 +0000 (10:05 +0000)]
config file test

23 years agochanged the 'port' field to long to better work with the va_arg() system
Daniel Stenberg [Fri, 17 Nov 2000 09:48:21 +0000 (09:48 +0000)]
changed the 'port' field to long to better work with the va_arg() system

23 years agomajor config file hack, now works a lot better and slightly different
Daniel Stenberg [Fri, 17 Nov 2000 09:47:18 +0000 (09:47 +0000)]
major config file hack, now works a lot better and slightly different
Added --url to allow URLs to be specified in the config file that way

23 years agomoved out the FTP part
Daniel Stenberg [Thu, 16 Nov 2000 09:06:18 +0000 (09:06 +0000)]
moved out the FTP part

23 years agoforgot to commit before
Daniel Stenberg [Thu, 16 Nov 2000 07:32:45 +0000 (07:32 +0000)]
forgot to commit before

23 years agodata->err must be used, not stderr
Daniel Stenberg [Thu, 16 Nov 2000 07:20:12 +0000 (07:20 +0000)]
data->err must be used, not stderr

23 years agofixed crash in config file parser
Daniel Stenberg [Wed, 15 Nov 2000 20:45:29 +0000 (20:45 +0000)]
fixed crash in config file parser

23 years agoupdated to catch bug 122480
Daniel Stenberg [Wed, 15 Nov 2000 15:48:15 +0000 (15:48 +0000)]
updated to catch bug 122480

23 years agonot printf()ing %s normally for character that weren't isprint() made things
Daniel Stenberg [Wed, 15 Nov 2000 15:36:41 +0000 (15:36 +0000)]
not printf()ing %s normally for character that weren't isprint() made things
go weird, had to remove this. I should use trio soon for all the *printf()
stuff as this is too broken

23 years ago'use strict' compliant
Daniel Stenberg [Wed, 15 Nov 2000 12:13:24 +0000 (12:13 +0000)]
'use strict' compliant
better complains if there are missing input files for a test case
explaced exit-calls with returns instead

23 years agoproxy authorization test case
Daniel Stenberg [Wed, 15 Nov 2000 12:06:59 +0000 (12:06 +0000)]
proxy authorization test case

23 years agonow sorts the test cases when "all" is used
Daniel Stenberg [Wed, 15 Nov 2000 08:21:14 +0000 (08:21 +0000)]
now sorts the test cases when "all" is used

23 years ago'use strict' compliant
Daniel Stenberg [Wed, 15 Nov 2000 07:09:37 +0000 (07:09 +0000)]
'use strict' compliant

23 years agoremoved some /= 256 that was wrongly left
Daniel Stenberg [Tue, 14 Nov 2000 11:56:16 +0000 (11:56 +0000)]
removed some /= 256 that was wrongly left

23 years agoadded help text on -h
Daniel Stenberg [Tue, 14 Nov 2000 10:28:25 +0000 (10:28 +0000)]
added help text on -h

23 years agomore decriptions
Daniel Stenberg [Tue, 14 Nov 2000 10:24:26 +0000 (10:24 +0000)]
more decriptions

23 years agoremoved lots of external program dependencies (for windows compliance)
Daniel Stenberg [Tue, 14 Nov 2000 10:18:44 +0000 (10:18 +0000)]
removed lots of external program dependencies (for windows compliance)
added lots of comments
added -s for short output and made it possible to run specific test cases
from the command line

23 years agosomewhat more functioning FTP
Daniel Stenberg [Mon, 13 Nov 2000 20:47:09 +0000 (20:47 +0000)]
somewhat more functioning FTP

23 years agobasic and early ftp support
Daniel Stenberg [Mon, 13 Nov 2000 19:58:40 +0000 (19:58 +0000)]
basic and early ftp support

23 years agologs stderr as well now, which is good if the program crashes, and also
Daniel Stenberg [Mon, 13 Nov 2000 18:34:27 +0000 (18:34 +0000)]
logs stderr as well now, which is good if the program crashes, and also
dumps more information in case curl doesn't return success

23 years ago*** empty log message ***
Daniel Stenberg [Mon, 13 Nov 2000 18:23:52 +0000 (18:23 +0000)]
*** empty log message ***

23 years agomoved the followlocation field from the http struct to the urldata struct
Daniel Stenberg [Mon, 13 Nov 2000 18:23:21 +0000 (18:23 +0000)]
moved the followlocation field from the http struct to the urldata struct
since it has to survive http struct deletion

23 years agoupdated
Daniel Stenberg [Mon, 13 Nov 2000 16:07:17 +0000 (16:07 +0000)]
updated

23 years agoconverted shell script to perl
Daniel Stenberg [Mon, 13 Nov 2000 16:06:16 +0000 (16:06 +0000)]
converted shell script to perl

23 years agomore test case data
Daniel Stenberg [Mon, 13 Nov 2000 16:05:39 +0000 (16:05 +0000)]
more test case data

23 years agoremoved the check that prevents -T and -o beinged used simultaneously!
Daniel Stenberg [Mon, 13 Nov 2000 11:59:19 +0000 (11:59 +0000)]
removed the check that prevents -T and -o beinged used simultaneously!

23 years agoif the server is already running when the script is started, it now verifies
Daniel Stenberg [Mon, 13 Nov 2000 11:45:41 +0000 (11:45 +0000)]
if the server is already running when the script is started, it now verifies
that it actually is our test server that runs

23 years agoAdded space after the Cookie: header keyword
Daniel Stenberg [Mon, 13 Nov 2000 11:29:32 +0000 (11:29 +0000)]
Added space after the Cookie: header keyword

23 years agodefaults to run all available test cases in (1 - last) order
Daniel Stenberg [Mon, 13 Nov 2000 09:51:01 +0000 (09:51 +0000)]
defaults to run all available test cases in (1 - last) order

23 years agoupdated test cases
Daniel Stenberg [Mon, 13 Nov 2000 09:44:39 +0000 (09:44 +0000)]
updated test cases

23 years agonew pid stuff, more filters, various fixes
Daniel Stenberg [Mon, 13 Nov 2000 09:43:40 +0000 (09:43 +0000)]
new pid stuff, more filters, various fixes

23 years agochanged pid stuff, made it work with rfc1867 posts and made it work better
Daniel Stenberg [Mon, 13 Nov 2000 09:42:58 +0000 (09:42 +0000)]
changed pid stuff, made it work with rfc1867 posts and made it work better
on paths

23 years agomore details added
Daniel Stenberg [Mon, 13 Nov 2000 09:41:47 +0000 (09:41 +0000)]
more details added

23 years agoJörg updated the list of exported functions
Daniel Stenberg [Mon, 13 Nov 2000 08:36:17 +0000 (08:36 +0000)]
Jörg updated the list of exported functions

23 years agoreplaced by a working server!
Daniel Stenberg [Mon, 13 Nov 2000 08:03:16 +0000 (08:03 +0000)]
replaced by a working server!

23 years agouses the new httpd server, runs the tests much faster
Daniel Stenberg [Mon, 13 Nov 2000 08:02:26 +0000 (08:02 +0000)]
uses the new httpd server, runs the tests much faster

23 years agonew perl http server that works better
Daniel Stenberg [Mon, 13 Nov 2000 08:02:02 +0000 (08:02 +0000)]
new perl http server that works better

23 years agoChris Faherty fixed a free-twice problem
Daniel Stenberg [Mon, 13 Nov 2000 07:51:23 +0000 (07:51 +0000)]
Chris Faherty fixed a free-twice problem

23 years agoupdated config file section
Daniel Stenberg [Sun, 12 Nov 2000 15:14:35 +0000 (15:14 +0000)]
updated config file section

23 years agoAdded empty actions for all: and install:
Daniel Stenberg [Sun, 12 Nov 2000 15:11:50 +0000 (15:11 +0000)]
Added empty actions for all: and install:

23 years agoThe last few days of changes
Daniel Stenberg [Fri, 10 Nov 2000 15:26:48 +0000 (15:26 +0000)]
The last few days of changes

23 years agotest files
Daniel Stenberg [Fri, 10 Nov 2000 15:24:54 +0000 (15:24 +0000)]
test files

23 years agoinitial checkin
Daniel Stenberg [Fri, 10 Nov 2000 15:24:09 +0000 (15:24 +0000)]
initial checkin