Daniel Stenberg [Fri, 30 Apr 2004 08:23:50 +0000 (08:23 +0000)]
use the new lib/curlx.h header and modified the code to use all to-become-
curlx_-functions with the new prefix to prepare this code for the future
removal of several curl_-functions from the public libcurl API.
Daniel Stenberg [Fri, 30 Apr 2004 08:22:38 +0000 (08:22 +0000)]
New header file that offers easy access to the curlx_ functions for an app.
curlx_ functions are NOT part of the offical API, but only available as source
code functions from the lib directory in case of need.
Daniel Stenberg [Thu, 29 Apr 2004 13:41:48 +0000 (13:41 +0000)]
fixed the host/proxy name issue when re-using a connection and made IDN names
work when using proxy by converting the IDN-name to the ACE-encoded version
before the request-URL is passed to the proxy.
Daniel Stenberg [Tue, 27 Apr 2004 13:56:23 +0000 (13:56 +0000)]
Made host name and proxy name get stored in a 'struct hostname' and set
all things up to work with encoded host names internally, as well as keeping
'display names' to show in debug messages. IDN resolves work for me now using
ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
Daniel Stenberg [Mon, 26 Apr 2004 22:13:36 +0000 (22:13 +0000)]
We now make sure to only scan for SSL options with pkg-config if we haven't
disabled SSL with --without-ssl. This previously made the Makefiles use
the SSL libs even though told not to.
Daniel Stenberg [Mon, 26 Apr 2004 21:15:48 +0000 (21:15 +0000)]
Include "setup.h" and not "config.h" since setup.h is made to include
the correct config.h for the platform, and when this is done the USE_MANUAL
define is properly known.
Daniel Stenberg [Mon, 26 Apr 2004 13:42:39 +0000 (13:42 +0000)]
Moved down the ares check again to the bottom of the script since it
modified the compiler and link options so nothing can be tested for after
this check, as the c-ares lib might not have been built yet!
Daniel Stenberg [Mon, 26 Apr 2004 12:04:34 +0000 (12:04 +0000)]
Removed the FTPS test cases, they only annoy us as they don't work for anyone
anywhere. We need to write a better ftps-server for test purposes and then
we can re-introduced FTPS tests.
Daniel Stenberg [Sun, 25 Apr 2004 08:13:07 +0000 (08:13 +0000)]
make the generated hugehelp.c file use the USE_MANUAL define so that it
will be properly built with configure --disable-manual even if the source
file is already present
Daniel Stenberg [Fri, 23 Apr 2004 08:38:43 +0000 (08:38 +0000)]
No longer uses the valgrind option '--logfile-fd', we use the --logfile
option instead (even though it appends the pid to the file name, making it
harder to figure out its name to parse it after a test has run).
Also made sure we only use valgrind for the actual test command command lines,
not when for example running curl to detect if there are any already running
servers are present etc.
Daniel Stenberg [Thu, 22 Apr 2004 20:07:41 +0000 (20:07 +0000)]
- David Byron found and fixed a small bug with the --fail and authentication
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and
communicate with a proxy that requires basic authentication, the proxy
properly returns a 407, but the failure detection code doesn't realize it
should give up, so curl returns with exit code 0. Test case 162 verifies
this.
Daniel Stenberg [Thu, 22 Apr 2004 13:10:43 +0000 (13:10 +0000)]
If a transfer is found out to be only partial, libcurl will now treat that
as a problem serious enough to skip the final QUIT command before closing
the control connection. To avoid the risk that it will "hang" waiting for
the QUIT response. Added test case 161 to verify this.
Daniel Stenberg [Thu, 22 Apr 2004 13:09:00 +0000 (13:09 +0000)]
If only a partial file was transfered, we consider that a fatal problem so
we won't try to QUIT the control connection and risk "hanging" waiting for
a response. Test case 161 verifies this. The quit-sending function was
also made static.