Daniel Stenberg [Sun, 3 Aug 2003 22:18:14 +0000 (22:18 +0000)]
Mark Fletcher provided an excellent bug report that identified a problem
with FOLLOWLOCATION and chunked transfer-encoding, as libcurl would not
properly ignore the body contents of 3XX response that included the
Location: header.
Daniel Stenberg [Sat, 2 Aug 2003 23:36:35 +0000 (23:36 +0000)]
When proxy authentication is used in a CONNECT request (as used for all SSL
connects and otherwise enforced tunnel-thru-proxy requests), the same
authentication header is also wrongly sent to the remote host.
The name and password can then be captured by an evil host and possibly get
used for malicious purposes.
Daniel Stenberg [Wed, 30 Jul 2003 15:10:26 +0000 (15:10 +0000)]
add a check for 'ar' since the lack of it bit Jared Ingersoll
we might need to check for some other tools too that on Solaris are put
in those weird dirs...
Daniel Stenberg [Wed, 30 Jul 2003 07:33:41 +0000 (07:33 +0000)]
Make sure to generate an uncompressed hugehelp.c file for inclusion in
the distribution archive, as it isn't sure zlib is present everywhere. Those
who care much for compressed help should regenerate the file.
Daniel Stenberg [Mon, 28 Jul 2003 08:50:02 +0000 (08:50 +0000)]
François Pons brought a patch that once again made curl deal with ftp and
"double slash" as indicating the root directory. In the RFC1738-fix of April
30, that ability was removed (since it is not the "right" way).
Daniel Stenberg [Wed, 23 Jul 2003 17:06:21 +0000 (17:06 +0000)]
When we re-use an existing connection we must make sure that we don't
accidentally re-use the connect_addr field, as that might no longer be
around. Fix verified by Tracy Boehrer who basicly debugged and tracked down
this problem.
Daniel Stenberg [Wed, 23 Jul 2003 08:11:28 +0000 (08:11 +0000)]
Plain default version of this file, to allow users to build easier from
CVS. This will be updated by the configure script, and a default is placed
here by the maketgz script.
Daniel Stenberg [Tue, 22 Jul 2003 09:58:18 +0000 (09:58 +0000)]
Added a separate struct for the proxyntlm data, as it will/can be different
than the remote server's. That is, both the server and the proxy can in
fact require NTLM auth.
Daniel Stenberg [Sat, 19 Jul 2003 23:44:22 +0000 (23:44 +0000)]
If the data contents contains the word 'swsclose', then this server will
disconnect the client after the response have been sent. This also happens
if the respons is zero byte long.
In all other cases (unless an error happens), it will now maintain the
connection to allow proper persistant connection testing. This was required
for the NTLM testing to work so I finally had to fix this. Of course most of
the existing HTTP tests will be adjusted to work with this new rule of test
file syntax for HTTP tests.
Also fixed the log function to deal with varargs for better logging.
Daniel Stenberg [Tue, 15 Jul 2003 23:36:50 +0000 (23:36 +0000)]
Moved the NTLM credentials to the connectdata struct instead, as NTLM
authenticates connections and not single requests. This should make it work
better when we mix requests from multiple hosts. Problem pointed out by
Cris Bailiff.
Daniel Stenberg [Tue, 15 Jul 2003 22:58:36 +0000 (22:58 +0000)]
Dan Winship's patch added that makes use of DOMAIN\USER or DOMAIN/USER
for the user field. I changed it slightly to stay with strchr() only instead
of strpbrk() for portability reasons.
Daniel Stenberg [Fri, 4 Jul 2003 18:15:25 +0000 (18:15 +0000)]
Dan Grayson pointed out that we set the CURL_CA_BUNDLE variable wrongly in
the configure script. We set it differently now and generate the
lib/ca-bundle.h file entirely.
Daniel Stenberg [Fri, 4 Jul 2003 16:29:23 +0000 (16:29 +0000)]
Peter Sylvester's patch was applied that introduces the following:
CURLOPT_SSL_CTX_FUNCTION to set a callback that gets called with the
OpenSSL's ssl_ctx pointer passed in and allow a callback to act on it. If
anything but CURLE_OK is returned, that will also be returned by libcurl
all the way back. If this function changes the CURLOPT_URL, libcurl will
detect this and instead go use the new URL.
CURLOPT_SSL_CTX_DATA is a pointer you set to get passed to the callback set
with CURLOPT_SSL_CTX_FUNCTION.
Daniel Stenberg [Fri, 27 Jun 2003 14:37:38 +0000 (14:37 +0000)]
When I introduced the DIST_SUBDIRS usage, I broken the 'make install' for
include files and docs, so now I've added a custom install hook to run
make install for docs and install when data is installed at the top-level.