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.
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 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 [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)