platform/upstream/curl.git
19 years agoAdded --trace-time that when used adds a time stamp to each trace line that
Daniel Stenberg [Mon, 2 May 2005 09:38:19 +0000 (09:38 +0000)]
Added --trace-time that when used adds a time stamp to each trace line that
--trace, --trace-ascii and --verbose output. I also made the '>' display
separate each line on the linefeed so that HTTP requests etc look nicer in the
-v output.

19 years agoWhen starting the ftp server, wait a few seconds to make really sure that
Daniel Stenberg [Mon, 2 May 2005 09:08:44 +0000 (09:08 +0000)]
When starting the ftp server, wait a few seconds to make really sure that
a pidfile for the server appears as otherwise it failed.

19 years agoMake sure there's no pidfile if we cannot start the initial sockfilt tool -
Daniel Stenberg [Mon, 2 May 2005 09:08:02 +0000 (09:08 +0000)]
Make sure there's no pidfile if we cannot start the initial sockfilt tool -
this happens for some ipv6-enabled hosts on which sockfilt cannot listen
on ipv6.

19 years agotwo bugfixes, one change and one test script modification
Daniel Stenberg [Mon, 2 May 2005 08:40:20 +0000 (08:40 +0000)]
two bugfixes, one change and one test script modification

19 years agotwo bugs, one change
Daniel Stenberg [Mon, 2 May 2005 07:59:47 +0000 (07:59 +0000)]
two bugs, one change

19 years agoblank a few more environment variables before running a test
Daniel Stenberg [Mon, 2 May 2005 07:54:25 +0000 (07:54 +0000)]
blank a few more environment variables before running a test

19 years agoMade curl recognize the environment variables Lynx (and others?) support for
Daniel Stenberg [Mon, 2 May 2005 07:53:25 +0000 (07:53 +0000)]
Made curl recognize the environment variables Lynx (and others?) support for
pointing out the CA cert path/file: SSL_CERT_DIR and SSL_CERT_FILE. If
CURL_CA_BUNDLE is not set, they are checked afterwards.

19 years agoBryan Henderson's fine update of SSL_VERIFYPEER and SSL_VERIFYHOST
Daniel Stenberg [Mon, 2 May 2005 07:28:40 +0000 (07:28 +0000)]
Bryan Henderson's fine update of SSL_VERIFYPEER and SSL_VERIFYHOST

19 years agoprevent two compiler warnings on comparisons between signed and unsigned
Daniel Stenberg [Sun, 1 May 2005 23:16:51 +0000 (23:16 +0000)]
prevent two compiler warnings on comparisons between signed and unsigned

19 years agofixed to use fork()+exec() to start test servers
Daniel Stenberg [Sun, 1 May 2005 13:20:53 +0000 (13:20 +0000)]
fixed to use fork()+exec() to start test servers

19 years agoalways use the libcurl-provided *printf() functions
Daniel Stenberg [Sun, 1 May 2005 12:56:09 +0000 (12:56 +0000)]
always use the libcurl-provided *printf() functions

19 years agoutil.h added as "source" to make it get added in dist archives
Daniel Stenberg [Sun, 1 May 2005 12:51:27 +0000 (12:51 +0000)]
util.h added as "source" to make it get added in dist archives

19 years agologfile name is const
Daniel Stenberg [Sat, 30 Apr 2005 23:35:51 +0000 (23:35 +0000)]
logfile name is const

19 years agoMoved common code to util.[ch] instead of having it duplicated in sws.c
Daniel Stenberg [Sat, 30 Apr 2005 23:30:55 +0000 (23:30 +0000)]
Moved common code to util.[ch] instead of having it duplicated in sws.c
and sockfilt.c. For good-to-have functions for the servers written in C.

19 years agothere cannot be chunked problem when no_body (HEAD) is true since without
Daniel Stenberg [Sat, 30 Apr 2005 23:07:38 +0000 (23:07 +0000)]
there cannot be chunked problem when no_body (HEAD) is true since without
body there is nothing chunked-encoded!

19 years agosingleipconnect() returns a socket descriptor, not a CURLcode (but perhaps
Daniel Stenberg [Sat, 30 Apr 2005 15:16:39 +0000 (15:16 +0000)]
singleipconnect() returns a socket descriptor, not a CURLcode (but perhaps
we should make it do that...)

19 years agomore fixes
Daniel Stenberg [Fri, 29 Apr 2005 12:34:53 +0000 (12:34 +0000)]
more fixes

19 years agoUpdated with (new and old) default config file search path explanation.
Daniel Stenberg [Thu, 28 Apr 2005 21:26:30 +0000 (21:26 +0000)]
Updated with (new and old) default config file search path explanation.

19 years agoSet mode text on the section that is written by curl in text mode, to allow
Daniel Stenberg [Thu, 28 Apr 2005 21:07:07 +0000 (21:07 +0000)]
Set mode text on the section that is written by curl in text mode, to allow
the runtests.pl to check this differently on operating systems that
differentiate on this.

19 years agobasic signal handler for sigint and sigkill
Daniel Stenberg [Thu, 28 Apr 2005 21:06:17 +0000 (21:06 +0000)]
basic signal handler for sigint and sigkill

19 years agofixed the attribute parser to better handle multiple ones, with or without
Daniel Stenberg [Thu, 28 Apr 2005 21:05:40 +0000 (21:05 +0000)]
fixed the attribute parser to better handle multiple ones, with or without
quotes around the contents

19 years agomoved two functions to ftp.pm, made some more changes on stopping servers
Daniel Stenberg [Thu, 28 Apr 2005 21:04:58 +0000 (21:04 +0000)]
moved two functions to ftp.pm, made some more changes on stopping servers
and fixed the textmode attribute thing for windows a bit

19 years agomoved in functions from runtests.pl to enable the ftpserver to use the
Daniel Stenberg [Thu, 28 Apr 2005 21:04:08 +0000 (21:04 +0000)]
moved in functions from runtests.pl to enable the ftpserver to use the
killslaves function

19 years agoAF_INET6 for ipv6 addresses!
Daniel Stenberg [Thu, 28 Apr 2005 14:31:25 +0000 (14:31 +0000)]
AF_INET6 for ipv6 addresses!

19 years agono, the kill servers messages need to be verbose, they're too frequent
Daniel Stenberg [Thu, 28 Apr 2005 14:25:48 +0000 (14:25 +0000)]
no, the kill servers messages need to be verbose, they're too frequent

19 years agodisplay killed pids to make it easier to see for autobuilds etc
Daniel Stenberg [Thu, 28 Apr 2005 14:03:08 +0000 (14:03 +0000)]
display killed pids to make it easier to see for autobuilds etc

19 years agohistoric thing we will not use
Daniel Stenberg [Thu, 28 Apr 2005 13:55:34 +0000 (13:55 +0000)]
historic thing we will not use

19 years agoremoved ftpsserver.pl
Daniel Stenberg [Thu, 28 Apr 2005 13:55:16 +0000 (13:55 +0000)]
removed ftpsserver.pl

19 years agoWhen staring a HTTP server, use the pidfile preferably since it turns out
Daniel Stenberg [Thu, 28 Apr 2005 13:54:48 +0000 (13:54 +0000)]
When staring a HTTP server, use the pidfile preferably since it turns out
sometimes the server can start but curl cannot speak to it, and then we must
remember the server (in order to kill it properly) anyway.

Also, make sure to kill all servers on exit everywhere.

19 years agoignore more generated files
Daniel Stenberg [Thu, 28 Apr 2005 11:22:18 +0000 (11:22 +0000)]
ignore more generated files

19 years agoremove unused ftps-server code and fixed two warnings
Daniel Stenberg [Thu, 28 Apr 2005 08:23:25 +0000 (08:23 +0000)]
remove unused ftps-server code and fixed two warnings

19 years agoif diff -u makes zero output, try diff -c instead
Daniel Stenberg [Thu, 28 Apr 2005 08:20:33 +0000 (08:20 +0000)]
if diff -u makes zero output, try diff -c instead

19 years agokill slave processes when they fail
Daniel Stenberg [Thu, 28 Apr 2005 07:36:55 +0000 (07:36 +0000)]
kill slave processes when they fail

19 years ago1. no longer ask the server for the HTTPS pid, as it returns the HTTP pid
Daniel Stenberg [Thu, 28 Apr 2005 06:50:42 +0000 (06:50 +0000)]
1. no longer ask the server for the HTTPS pid, as it returns the HTTP pid
(problem identified by Dan F)
2. initial text mode fix for file checks, to allow better text file testing
on windows (with regard to line endings)
3. fixed to use the proper ftpserver pidfile to find pid

19 years agoPaul Moore made curl check for the .curlrc file (_curlrc on windows) on two
Daniel Stenberg [Wed, 27 Apr 2005 21:24:58 +0000 (21:24 +0000)]
Paul Moore made curl check for the .curlrc file (_curlrc on windows) on two
more places. First, CURL_HOME is a new environment variable that is used
instead of HOME if it is set, to point out where the default config file
lives. If there's no config file in the dir pointed out by one of the
environment variables, the Windows version will instead check the same
directory the executable curl is located in.

19 years agolisten(..., 1) as 0 doesn't work on Tru64!
Daniel Stenberg [Wed, 27 Apr 2005 12:28:04 +0000 (12:28 +0000)]
listen(..., 1) as 0 doesn't work on Tru64!

19 years agodisplay listening port in log
Daniel Stenberg [Wed, 27 Apr 2005 12:27:23 +0000 (12:27 +0000)]
display listening port in log

19 years agoshow what error codes we test for too, and show 10 test case numbers
Daniel Stenberg [Wed, 27 Apr 2005 10:12:41 +0000 (10:12 +0000)]
show what error codes we test for too, and show 10 test case numbers

19 years agokeyword update
Daniel Stenberg [Wed, 27 Apr 2005 09:59:47 +0000 (09:59 +0000)]
keyword update

19 years agodetect SSL library properly and display it on startup
Daniel Stenberg [Wed, 27 Apr 2005 09:59:29 +0000 (09:59 +0000)]
detect SSL library properly and display it on startup

19 years agofixing
Daniel Stenberg [Tue, 26 Apr 2005 21:47:31 +0000 (21:47 +0000)]
fixing

19 years agoCory Nelson's work on nuking compiler warnings when building on x64 with
Daniel Stenberg [Tue, 26 Apr 2005 13:08:49 +0000 (13:08 +0000)]
Cory Nelson's work on nuking compiler warnings when building on x64 with
VS2005.

19 years agoSince Windows doesn't have/use the POSIX prototype for send() and recv(), we
Daniel Stenberg [Tue, 26 Apr 2005 13:08:18 +0000 (13:08 +0000)]
Since Windows doesn't have/use the POSIX prototype for send() and recv(), we
typecast the third argument in the macros to avoid compiler warnings.

19 years agoadding a bunch of comments for each #endif
Daniel Stenberg [Tue, 26 Apr 2005 10:55:52 +0000 (10:55 +0000)]
adding a bunch of comments for each #endif

19 years agoFred New reported a bug where we used Basic auth and user name and password in
Daniel Stenberg [Mon, 25 Apr 2005 21:39:48 +0000 (21:39 +0000)]
Fred New reported a bug where we used Basic auth and user name and password in
.netrc, and when following a Location: the subsequent requests didn't properly
use the auth as found in the netrc file. Added test case 257 to verify my fix.

19 years agobe specific about what max_fd contains after a call
Daniel Stenberg [Mon, 25 Apr 2005 08:55:55 +0000 (08:55 +0000)]
be specific about what max_fd contains after a call

19 years agoBased on feedback from Cory Nelson, I added some preprocessor magic in
Daniel Stenberg [Sun, 24 Apr 2005 22:25:04 +0000 (22:25 +0000)]
Based on feedback from Cory Nelson, I added some preprocessor magic in
*/setup.h and */config-win32.h to build fine with VS2005 on x64.

19 years ago2 days, 4 fixes
Daniel Stenberg [Sat, 23 Apr 2005 22:08:15 +0000 (22:08 +0000)]
2 days, 4 fixes

19 years agoAlex Suykov's ftp upload show progress meter patch, slightly adjusted.
Daniel Stenberg [Sat, 23 Apr 2005 21:26:27 +0000 (21:26 +0000)]
Alex Suykov's ftp upload show progress meter patch, slightly adjusted.

19 years agofix for recent changes.
Gunter Knauf [Sat, 23 Apr 2005 11:59:06 +0000 (11:59 +0000)]
fix for recent changes.

19 years agoshow up to 5 (random) test cases using the keyword
Daniel Stenberg [Fri, 22 Apr 2005 22:29:48 +0000 (22:29 +0000)]
show up to 5 (random) test cases using the keyword

19 years agokeywords added
Daniel Stenberg [Fri, 22 Apr 2005 21:59:08 +0000 (21:59 +0000)]
keywords added

19 years agoDave Dribin: set CURL_STATICLIB when it builds static library variants.
Daniel Stenberg [Fri, 22 Apr 2005 21:16:22 +0000 (21:16 +0000)]
Dave Dribin: set CURL_STATICLIB when it builds static library variants.

19 years agoAndres Garcia's fix for building static curl on windows.
Daniel Stenberg [Fri, 22 Apr 2005 21:13:27 +0000 (21:13 +0000)]
Andres Garcia's fix for building static curl on windows.

19 years agoFixed the CN extraction
Daniel Stenberg [Fri, 22 Apr 2005 20:56:26 +0000 (20:56 +0000)]
Fixed the CN extraction

19 years agoupdate the copyright year
Daniel Stenberg [Fri, 22 Apr 2005 20:49:35 +0000 (20:49 +0000)]
update the copyright year

19 years agomodified this year
Daniel Stenberg [Fri, 22 Apr 2005 20:48:07 +0000 (20:48 +0000)]
modified this year

19 years agoignore the memdump file when showing files after a failure
Daniel Stenberg [Fri, 22 Apr 2005 20:47:35 +0000 (20:47 +0000)]
ignore the memdump file when showing files after a failure

19 years agocopyright this year
Daniel Stenberg [Fri, 22 Apr 2005 20:47:21 +0000 (20:47 +0000)]
copyright this year

19 years agoFixed for Mac OS X builds based on excellent feedback from Heinz Stockinger.
Daniel Stenberg [Fri, 22 Apr 2005 15:01:02 +0000 (15:01 +0000)]
Fixed for Mac OS X builds based on excellent feedback from Heinz Stockinger.

19 years agochanges for building with IPV6.
Gunter Knauf [Fri, 22 Apr 2005 13:03:17 +0000 (13:03 +0000)]
changes for building with IPV6.

19 years agomodified the test case success reporting, added "test N out of Y" and
Daniel Stenberg [Fri, 22 Apr 2005 11:51:06 +0000 (11:51 +0000)]
modified the test case success reporting, added "test N out of Y" and
"remaining: [time]" outputs to hint users about what to expect

19 years agotest 256 is like test 38 but with proxy + proxy auth
Daniel Stenberg [Fri, 22 Apr 2005 10:15:21 +0000 (10:15 +0000)]
test 256 is like test 38 but with proxy + proxy auth

19 years agokeywords
Daniel Stenberg [Fri, 22 Apr 2005 10:06:58 +0000 (10:06 +0000)]
keywords

19 years agoSet the retry delay variables after the option parsing, as bug report
Daniel Stenberg [Fri, 22 Apr 2005 10:01:49 +0000 (10:01 +0000)]
Set the retry delay variables after the option parsing, as bug report
#1187787 points out.

19 years agoadded missing headers
Daniel Stenberg [Thu, 21 Apr 2005 20:11:31 +0000 (20:11 +0000)]
added missing headers

19 years agochanges for building with IPV6 and LDAP.
Gunter Knauf [Wed, 20 Apr 2005 23:41:25 +0000 (23:41 +0000)]
changes for building with IPV6 and LDAP.

19 years agoprevent compiler warning
Daniel Stenberg [Tue, 19 Apr 2005 23:38:57 +0000 (23:38 +0000)]
prevent compiler warning

19 years agoadded typecast when converting from long to unsigned short, to prevent compiler warning
Daniel Stenberg [Tue, 19 Apr 2005 23:37:45 +0000 (23:37 +0000)]
added typecast when converting from long to unsigned short, to prevent compiler warning

19 years agoindented source to look more like other ares code,
Daniel Stenberg [Tue, 19 Apr 2005 23:36:21 +0000 (23:36 +0000)]
indented source to look more like other ares code,
added (somewhat ugly) typecasts to build warning-free on 64bit platforms (the
result of a (char *) - (char *) cannot be stored in an int universally)

19 years agosortlist_alloc() is never used on win32, so ifdef out it to prevent warning
Daniel Stenberg [Tue, 19 Apr 2005 23:26:14 +0000 (23:26 +0000)]
sortlist_alloc() is never used on win32, so ifdef out it to prevent warning

19 years agoonly define _REENTRANT if not already defined, and only in setup.h
Daniel Stenberg [Tue, 19 Apr 2005 23:19:23 +0000 (23:19 +0000)]
only define _REENTRANT if not already defined, and only in setup.h

19 years agoCheck for and config for the ca cert bundle properly when built with GnuTLS.
Daniel Stenberg [Tue, 19 Apr 2005 22:23:37 +0000 (22:23 +0000)]
Check for and config for the ca cert bundle properly when built with GnuTLS.
Previously this was only done for OpenSSL builds.

19 years agowhen --with-gnutls is used, we assume a bin/libgnutls-config file in the
Daniel Stenberg [Tue, 19 Apr 2005 22:12:34 +0000 (22:12 +0000)]
when --with-gnutls is used, we assume a bin/libgnutls-config file in the
given prefix. Building something with gnutls without it just is too error-
prone.

19 years agoremove the warning for a lacking crypto lib since it migth just be a gnutls
Daniel Stenberg [Tue, 19 Apr 2005 22:03:10 +0000 (22:03 +0000)]
remove the warning for a lacking crypto lib since it migth just be a gnutls
build...

19 years agoadded CURLOPT_PORT test when using proxy
Daniel Stenberg [Tue, 19 Apr 2005 08:10:04 +0000 (08:10 +0000)]
added CURLOPT_PORT test when using proxy

19 years agotwo bugfixes of today
Daniel Stenberg [Mon, 18 Apr 2005 19:53:25 +0000 (19:53 +0000)]
two bugfixes of today

19 years agoOlivier reported that even though he used CURLOPT_PORT, libcurl clearly still
Daniel Stenberg [Mon, 18 Apr 2005 19:41:04 +0000 (19:41 +0000)]
Olivier reported that even though he used CURLOPT_PORT, libcurl clearly still
used the default port. He was right. I fixed the problem and added the test
cases 521, 522 and 523 to verify the fix.

19 years agoToshiyuki Maezawa reported that when doing a POST with a read callback,
Daniel Stenberg [Mon, 18 Apr 2005 17:14:58 +0000 (17:14 +0000)]
Toshiyuki Maezawa reported that when doing a POST with a read callback,
libcurl didn't properly send an Expect: 100-continue header. It does now.

19 years agodigest works in the proxyauth too
Daniel Stenberg [Mon, 18 Apr 2005 14:32:48 +0000 (14:32 +0000)]
digest works in the proxyauth too

19 years agoInitial curl_multi_socket() stuff, #ifdef'ed out for now but committed for
Daniel Stenberg [Mon, 18 Apr 2005 11:40:50 +0000 (11:40 +0000)]
Initial curl_multi_socket() stuff, #ifdef'ed out for now but committed for
documentational purposes.

19 years agobetter fix for the socket -1 case
Daniel Stenberg [Mon, 18 Apr 2005 08:59:46 +0000 (08:59 +0000)]
better fix for the socket -1 case

19 years agoignore sockfilt
Daniel Stenberg [Mon, 18 Apr 2005 08:51:04 +0000 (08:51 +0000)]
ignore sockfilt

19 years agosafety measure to avoid using -1 as socket
Daniel Stenberg [Mon, 18 Apr 2005 08:49:46 +0000 (08:49 +0000)]
safety measure to avoid using -1 as socket

19 years agoallow some more time
Daniel Stenberg [Mon, 18 Apr 2005 08:49:21 +0000 (08:49 +0000)]
allow some more time

19 years agoARGH my stupidity is endless. Ipv4-only hosts don't send EPRT or LPRT.
Daniel Stenberg [Mon, 18 Apr 2005 07:56:43 +0000 (07:56 +0000)]
ARGH my stupidity is endless. Ipv4-only hosts don't send EPRT or LPRT.

19 years agoModified the FTP server to use the new 'sockfilt' program to do all the socket
Daniel Stenberg [Mon, 18 Apr 2005 06:57:44 +0000 (06:57 +0000)]
Modified the FTP server to use the new 'sockfilt' program to do all the socket
level stuff. The FTP server communicates with sockfilt using perl's open2().
This enables easier IPv6 support and hopefully FTP-SSL support in the future.
Added four test cases for FTP-ipv6.

19 years agoModified to not mix ordinary print to STDOUT with a system() that prints to
Daniel Stenberg [Mon, 18 Apr 2005 05:46:10 +0000 (05:46 +0000)]
Modified to not mix ordinary print to STDOUT with a system() that prints to
stdout, since I've found cases on Solaris where the second output mixes with
the first and thus the big check-script doesn't properly find the first
string in the output stream.

19 years agosomewhat clarified that this only sets the fd_sets and expects them to be
Daniel Stenberg [Sun, 17 Apr 2005 23:01:46 +0000 (23:01 +0000)]
somewhat clarified that this only sets the fd_sets and expects them to be
cleared before this function is called

19 years agokeywords added
Daniel Stenberg [Sat, 16 Apr 2005 23:15:19 +0000 (23:15 +0000)]
keywords added

19 years agominor edits, report the test cases without keywords
Daniel Stenberg [Sat, 16 Apr 2005 23:15:12 +0000 (23:15 +0000)]
minor edits, report the test cases without keywords

19 years agostarting to produce a summary in HTML
Daniel Stenberg [Sat, 16 Apr 2005 12:43:32 +0000 (12:43 +0000)]
starting to produce a summary in HTML

19 years agoavoid warning on windows
Daniel Stenberg [Sat, 16 Apr 2005 12:30:01 +0000 (12:30 +0000)]
avoid warning on windows

19 years agoclarify that > in the verbose output can contain newlines
Daniel Stenberg [Sat, 16 Apr 2005 12:24:12 +0000 (12:24 +0000)]
clarify that > in the verbose output can contain newlines

19 years agokeywords added
Daniel Stenberg [Sat, 16 Apr 2005 00:00:35 +0000 (00:00 +0000)]
keywords added

19 years agoinitial tool to report info/keywords of the test cases
Daniel Stenberg [Fri, 15 Apr 2005 23:48:58 +0000 (23:48 +0000)]
initial tool to report info/keywords of the test cases

19 years agostarted adding "keywords" for each test, to better allow us to sum up what
Daniel Stenberg [Fri, 15 Apr 2005 23:48:31 +0000 (23:48 +0000)]
started adding "keywords" for each test, to better allow us to sum up what
kind of tests we have and how many tests that test certain features

19 years agoadd needed include
Daniel Stenberg [Fri, 15 Apr 2005 21:51:46 +0000 (21:51 +0000)]
add needed include

19 years agoAttempted to fix c-ares not building on non-IPv6 systems
Dominick Meglio [Fri, 15 Apr 2005 15:25:16 +0000 (15:25 +0000)]
Attempted to fix c-ares not building on non-IPv6 systems

19 years agoif libgnutls-config isn't found in the given path, deal with it nicer (but
Daniel Stenberg [Fri, 15 Apr 2005 08:45:35 +0000 (08:45 +0000)]
if libgnutls-config isn't found in the given path, deal with it nicer (but
it is still likely to not do very good since it can't figure out all the lib
dependencies)