Daniel Stenberg [Fri, 6 May 2005 23:22:33 +0000 (23:22 +0000)]
Added two test cases for multipart formpost over a proxy with --anyauth. Our
HTTP test server is a bit limited though, as it never responds to the POST
request until all data has been sent (and received)...
Daniel Stenberg [Fri, 6 May 2005 23:21:34 +0000 (23:21 +0000)]
When a server is clearly running, curl is now invoked to verify that it can
download a file from the server before the server is considered fine to use
for the given test case. This should fix the cases where the server can run
but curl cannot work with it.
Daniel Stenberg [Tue, 3 May 2005 23:14:43 +0000 (23:14 +0000)]
*MAN* was this hard to track down. Had I just read the docs properly from the
start... Anyway, fork() + exec() makes _two_ pids (in perl) that we need to
track and kill after use. Thankyouverymuch.
Daniel Stenberg [Mon, 2 May 2005 14:06:27 +0000 (14:06 +0000)]
Sort of "fixed" KNOWN_BUGS #4: curl now builds IPv6 enabled on AIX 4.3. At
least it should no longer cause a compiler error. However, it does not have
AI_NUMERICHOST so we cannot getaddrinfo() any numerical addresses with it (we
use that for FTP PORT/EPRT)! So, I modified the configure check that checks if
the getaddrinfo() is working, to use AI_NUMERICHOST since then it'll fail on
AIX 4.3 and it will automatically build with IPv6 support disabled.
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: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 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 [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 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 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 [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 [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 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.