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.
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.
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.
Daniel Stenberg [Mon, 2 May 2005 08:40:20 +0000 (08:40 +0000)]
two bugfixes, one change and one test script modification
Daniel Stenberg [Mon, 2 May 2005 07:59:47 +0000 (07:59 +0000)]
two bugs, one change
Daniel Stenberg [Mon, 2 May 2005 07:54:25 +0000 (07:54 +0000)]
blank a few more environment variables before running a test
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.
Daniel Stenberg [Mon, 2 May 2005 07:28:40 +0000 (07:28 +0000)]
Bryan Henderson's fine update of SSL_VERIFYPEER and SSL_VERIFYHOST
Daniel Stenberg [Sun, 1 May 2005 23:16:51 +0000 (23:16 +0000)]
prevent two compiler warnings on comparisons between signed and unsigned
Daniel Stenberg [Sun, 1 May 2005 13:20:53 +0000 (13:20 +0000)]
fixed to use fork()+exec() to start test servers
Daniel Stenberg [Sun, 1 May 2005 12:56:09 +0000 (12:56 +0000)]
always use the libcurl-provided *printf() functions
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
Daniel Stenberg [Sat, 30 Apr 2005 23:35:51 +0000 (23:35 +0000)]
logfile name is const
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.
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!
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...)
Daniel Stenberg [Fri, 29 Apr 2005 12:34:53 +0000 (12:34 +0000)]
more fixes
Daniel Stenberg [Thu, 28 Apr 2005 21:26:30 +0000 (21:26 +0000)]
Updated with (new and old) default config file search path explanation.
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.
Daniel Stenberg [Thu, 28 Apr 2005 21:06:17 +0000 (21:06 +0000)]
basic signal handler for sigint and sigkill
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
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
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
Daniel Stenberg [Thu, 28 Apr 2005 14:31:25 +0000 (14:31 +0000)]
AF_INET6 for ipv6 addresses!
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
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
Daniel Stenberg [Thu, 28 Apr 2005 13:55:34 +0000 (13:55 +0000)]
historic thing we will not use
Daniel Stenberg [Thu, 28 Apr 2005 13:55:16 +0000 (13:55 +0000)]
removed ftpsserver.pl
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.
Daniel Stenberg [Thu, 28 Apr 2005 11:22:18 +0000 (11:22 +0000)]
ignore more generated files
Daniel Stenberg [Thu, 28 Apr 2005 08:23:25 +0000 (08:23 +0000)]
remove unused ftps-server code and fixed two warnings
Daniel Stenberg [Thu, 28 Apr 2005 08:20:33 +0000 (08:20 +0000)]
if diff -u makes zero output, try diff -c instead
Daniel Stenberg [Thu, 28 Apr 2005 07:36:55 +0000 (07:36 +0000)]
kill slave processes when they fail
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
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.
Daniel Stenberg [Wed, 27 Apr 2005 12:28:04 +0000 (12:28 +0000)]
listen(..., 1) as 0 doesn't work on Tru64!
Daniel Stenberg [Wed, 27 Apr 2005 12:27:23 +0000 (12:27 +0000)]
display listening port in log
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
Daniel Stenberg [Wed, 27 Apr 2005 09:59:47 +0000 (09:59 +0000)]
keyword update
Daniel Stenberg [Wed, 27 Apr 2005 09:59:29 +0000 (09:59 +0000)]
detect SSL library properly and display it on startup
Daniel Stenberg [Tue, 26 Apr 2005 21:47:31 +0000 (21:47 +0000)]
fixing
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.
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.
Daniel Stenberg [Tue, 26 Apr 2005 10:55:52 +0000 (10:55 +0000)]
adding a bunch of comments for each #endif
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.
Daniel Stenberg [Mon, 25 Apr 2005 08:55:55 +0000 (08:55 +0000)]
be specific about what max_fd contains after a call
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.
Daniel Stenberg [Sat, 23 Apr 2005 22:08:15 +0000 (22:08 +0000)]
2 days, 4 fixes
Daniel Stenberg [Sat, 23 Apr 2005 21:26:27 +0000 (21:26 +0000)]
Alex Suykov's ftp upload show progress meter patch, slightly adjusted.
Gunter Knauf [Sat, 23 Apr 2005 11:59:06 +0000 (11:59 +0000)]
fix for recent changes.
Daniel Stenberg [Fri, 22 Apr 2005 22:29:48 +0000 (22:29 +0000)]
show up to 5 (random) test cases using the keyword
Daniel Stenberg [Fri, 22 Apr 2005 21:59:08 +0000 (21:59 +0000)]
keywords added
Daniel Stenberg [Fri, 22 Apr 2005 21:16:22 +0000 (21:16 +0000)]
Dave Dribin: set CURL_STATICLIB when it builds static library variants.
Daniel Stenberg [Fri, 22 Apr 2005 21:13:27 +0000 (21:13 +0000)]
Andres Garcia's fix for building static curl on windows.
Daniel Stenberg [Fri, 22 Apr 2005 20:56:26 +0000 (20:56 +0000)]
Fixed the CN extraction
Daniel Stenberg [Fri, 22 Apr 2005 20:49:35 +0000 (20:49 +0000)]
update the copyright year
Daniel Stenberg [Fri, 22 Apr 2005 20:48:07 +0000 (20:48 +0000)]
modified this year
Daniel Stenberg [Fri, 22 Apr 2005 20:47:35 +0000 (20:47 +0000)]
ignore the memdump file when showing files after a failure
Daniel Stenberg [Fri, 22 Apr 2005 20:47:21 +0000 (20:47 +0000)]
copyright this year
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.
Gunter Knauf [Fri, 22 Apr 2005 13:03:17 +0000 (13:03 +0000)]
changes for building with IPV6.
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
Daniel Stenberg [Fri, 22 Apr 2005 10:15:21 +0000 (10:15 +0000)]
test 256 is like test 38 but with proxy + proxy auth
Daniel Stenberg [Fri, 22 Apr 2005 10:06:58 +0000 (10:06 +0000)]
keywords
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.
Daniel Stenberg [Thu, 21 Apr 2005 20:11:31 +0000 (20:11 +0000)]
added missing headers
Gunter Knauf [Wed, 20 Apr 2005 23:41:25 +0000 (23:41 +0000)]
changes for building with IPV6 and LDAP.
Daniel Stenberg [Tue, 19 Apr 2005 23:38:57 +0000 (23:38 +0000)]
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
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)
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
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
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.
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.
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...
Daniel Stenberg [Tue, 19 Apr 2005 08:10:04 +0000 (08:10 +0000)]
added CURLOPT_PORT test when using proxy
Daniel Stenberg [Mon, 18 Apr 2005 19:53:25 +0000 (19:53 +0000)]
two bugfixes of today
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.
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.
Daniel Stenberg [Mon, 18 Apr 2005 14:32:48 +0000 (14:32 +0000)]
digest works in the proxyauth too
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.
Daniel Stenberg [Mon, 18 Apr 2005 08:59:46 +0000 (08:59 +0000)]
better fix for the socket -1 case
Daniel Stenberg [Mon, 18 Apr 2005 08:51:04 +0000 (08:51 +0000)]
ignore sockfilt
Daniel Stenberg [Mon, 18 Apr 2005 08:49:46 +0000 (08:49 +0000)]
safety measure to avoid using -1 as socket
Daniel Stenberg [Mon, 18 Apr 2005 08:49:21 +0000 (08:49 +0000)]
allow some more time
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.
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.
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.
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
Daniel Stenberg [Sat, 16 Apr 2005 23:15:19 +0000 (23:15 +0000)]
keywords added
Daniel Stenberg [Sat, 16 Apr 2005 23:15:12 +0000 (23:15 +0000)]
minor edits, report the test cases without keywords
Daniel Stenberg [Sat, 16 Apr 2005 12:43:32 +0000 (12:43 +0000)]
starting to produce a summary in HTML
Daniel Stenberg [Sat, 16 Apr 2005 12:30:01 +0000 (12:30 +0000)]
avoid warning on windows
Daniel Stenberg [Sat, 16 Apr 2005 12:24:12 +0000 (12:24 +0000)]
clarify that > in the verbose output can contain newlines
Daniel Stenberg [Sat, 16 Apr 2005 00:00:35 +0000 (00:00 +0000)]
keywords added
Daniel Stenberg [Fri, 15 Apr 2005 23:48:58 +0000 (23:48 +0000)]
initial tool to report info/keywords of the test cases
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
Daniel Stenberg [Fri, 15 Apr 2005 21:51:46 +0000 (21:51 +0000)]
add needed include
Dominick Meglio [Fri, 15 Apr 2005 15:25:16 +0000 (15:25 +0000)]
Attempted to fix c-ares not building on non-IPv6 systems
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)