Daniel Stenberg [Wed, 26 May 2004 08:54:36 +0000 (08:54 +0000)]
Added a new 'bit' in the connect struct named 'tunnel_proxy' that is set
if a connection is tunneled through a proxy. A tunnel is done with CONNECT,
either when using HTTPS or FTPS, or if explicitly enabled by the app.
Daniel Stenberg [Tue, 25 May 2004 21:47:29 +0000 (21:47 +0000)]
initial support for "uploading" to file:// URLs
Daniel Stenberg [Tue, 25 May 2004 14:44:25 +0000 (14:44 +0000)]
--proxy-basic added for completeness
Daniel Stenberg [Tue, 25 May 2004 14:39:53 +0000 (14:39 +0000)]
removed some stuff that actually is done now, added the --optionseparator
idea (not really new, but its better to have it mentioned in here)
Daniel Stenberg [Tue, 25 May 2004 14:28:44 +0000 (14:28 +0000)]
Bug report #948950, excessive amount of file descriptors might crash libcurl
Daniel Stenberg [Tue, 25 May 2004 13:52:12 +0000 (13:52 +0000)]
Massimiliano Ziccardi's updates for the VC6 makefiles
Daniel Stenberg [Tue, 25 May 2004 12:00:15 +0000 (12:00 +0000)]
preprocessor magic around the libidn idn_free() stuff to remain workable
both with older libidn versions without idn_free() and with libidn versions
that gets installed without idn-free.h
Daniel Stenberg [Tue, 25 May 2004 11:59:32 +0000 (11:59 +0000)]
checl for the idn_free stuff to remain functionall even with older libidn
versions
Daniel Stenberg [Tue, 25 May 2004 11:13:49 +0000 (11:13 +0000)]
remove trailing whitespace
Daniel Stenberg [Tue, 25 May 2004 07:51:06 +0000 (07:51 +0000)]
make one call instead of two
Daniel Stenberg [Mon, 24 May 2004 15:16:53 +0000 (15:16 +0000)]
new example proving that the debug callback works even when the multi
interface is used
Daniel Stenberg [Mon, 24 May 2004 15:16:29 +0000 (15:16 +0000)]
remove trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 15:12:37 +0000 (15:12 +0000)]
multi interface, debug callback
Daniel Stenberg [Mon, 24 May 2004 13:31:28 +0000 (13:31 +0000)]
delete trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 13:27:48 +0000 (13:27 +0000)]
if no errorbuffer string was provided when a return code was returned, use
the curl_easy_strerror() function to provide one
Daniel Stenberg [Mon, 24 May 2004 13:23:54 +0000 (13:23 +0000)]
IDN is a recognized feature
Daniel Stenberg [Mon, 24 May 2004 13:21:31 +0000 (13:21 +0000)]
fixed a reference
Daniel Stenberg [Mon, 24 May 2004 12:12:09 +0000 (12:12 +0000)]
meta-m runs delete-trailing-whitespace in curl-mode
Daniel Stenberg [Mon, 24 May 2004 11:57:34 +0000 (11:57 +0000)]
delete trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 10:46:22 +0000 (10:46 +0000)]
delete trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 09:01:45 +0000 (09:01 +0000)]
better name
Daniel Stenberg [Mon, 24 May 2004 08:19:37 +0000 (08:19 +0000)]
only idn_free() if built with libidn
Daniel Stenberg [Mon, 24 May 2004 07:53:25 +0000 (07:53 +0000)]
delete trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 07:40:00 +0000 (07:40 +0000)]
Simon Josefsson added a idn_free() function in libidn 0.4.5 as a reaction to
Gisle's previous mail. We now use this function, and thus we require libidn
0.4.5 or later. No earler version will do.
Daniel Stenberg [Mon, 24 May 2004 07:13:48 +0000 (07:13 +0000)]
Robert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE could
not be used both in one request. Fixed it and added test case 172 to verify.
Daniel Stenberg [Fri, 21 May 2004 20:40:15 +0000 (20:40 +0000)]
While talking to host a.b.c, libcurl did wrongly not accept cookies that were
set to the domain .a.b.c (that is with a dot prefix). This is now fixed and
test case 171 verifies it.
Daniel Stenberg [Fri, 21 May 2004 12:23:53 +0000 (12:23 +0000)]
quickfix to avoid division by zero, possibly we should go over all of these
once and for all
Daniel Stenberg [Thu, 20 May 2004 20:48:16 +0000 (20:48 +0000)]
fixed transfer speed math
Daniel Stenberg [Thu, 20 May 2004 20:35:42 +0000 (20:35 +0000)]
calculate upload and download speed using doubles to keep precision.
deleted trailing whitespace
Daniel Stenberg [Wed, 19 May 2004 11:25:21 +0000 (11:25 +0000)]
NTLM requires SSL
Daniel Stenberg [Wed, 19 May 2004 11:10:36 +0000 (11:10 +0000)]
cert verify
Daniel Stenberg [Wed, 19 May 2004 10:32:25 +0000 (10:32 +0000)]
added test 170
Daniel Stenberg [Wed, 19 May 2004 10:31:58 +0000 (10:31 +0000)]
David Byron's test case with -F that used to crash
Daniel Stenberg [Wed, 19 May 2004 09:25:00 +0000 (09:25 +0000)]
killed trailing whitespace
Daniel Stenberg [Wed, 19 May 2004 09:24:18 +0000 (09:24 +0000)]
just code formatting and killed whitespace
Daniel Stenberg [Wed, 19 May 2004 09:09:31 +0000 (09:09 +0000)]
language!
Daniel Stenberg [Wed, 19 May 2004 09:08:19 +0000 (09:08 +0000)]
Set CURLOPT_USERAGENT too
Daniel Stenberg [Wed, 19 May 2004 08:16:08 +0000 (08:16 +0000)]
The kill trailing whitespace needs to be set better as this way it takes
effect globally which isn't nice. Commented it out for now. Display trailing
whitespace still, to remind me.
Daniel Stenberg [Tue, 18 May 2004 10:55:40 +0000 (10:55 +0000)]
simplified all die messages
Daniel Stenberg [Tue, 18 May 2004 09:25:46 +0000 (09:25 +0000)]
simplified the automake failed message too
Daniel Stenberg [Tue, 18 May 2004 09:22:41 +0000 (09:22 +0000)]
make this script tell that this is the obsolete version, to make it possible
to detect
Daniel Stenberg [Tue, 18 May 2004 09:02:38 +0000 (09:02 +0000)]
simplified the die-line when aclocal fails, the previous one confused
the netbsd shell
Daniel Stenberg [Tue, 18 May 2004 07:35:37 +0000 (07:35 +0000)]
+ when storing the address in the cache fails, cleanup the resolved address
properly
+ delete trailing whitespace
Daniel Stenberg [Tue, 18 May 2004 07:25:13 +0000 (07:25 +0000)]
* seed_enough() was converted to a macro to avoid the IRIX compiler warning
about that passed-in argument not being used.
* killed trailing whitespace
Daniel Stenberg [Mon, 17 May 2004 22:07:43 +0000 (22:07 +0000)]
if shrinking the buffer fails, use the older larger one
Daniel Stenberg [Mon, 17 May 2004 22:01:16 +0000 (22:01 +0000)]
Peter Sylvester's patch that addresses two flaws in the peer certificate name
verification:
- when multiple common names are used (as in the curl tests), the last name
needs to be selected.
- allow comparing with encoded values, at least with BMP and ISO latin1
encoded T61strings.
Daniel Stenberg [Mon, 17 May 2004 10:54:00 +0000 (10:54 +0000)]
'make test-torture' in the root now runs a full torture test
Daniel Stenberg [Mon, 17 May 2004 10:53:34 +0000 (10:53 +0000)]
removed debug output and trailing whitespace
Daniel Stenberg [Mon, 17 May 2004 10:51:51 +0000 (10:51 +0000)]
grrr, fix the check again if no ftp server at all is running
Daniel Stenberg [Mon, 17 May 2004 10:39:44 +0000 (10:39 +0000)]
torture testing and a moved CVS repo
Daniel Stenberg [Mon, 17 May 2004 08:07:07 +0000 (08:07 +0000)]
new Curl_done() proto
Daniel Stenberg [Mon, 17 May 2004 08:05:46 +0000 (08:05 +0000)]
I made Curl_done() take a pointer-pointer in the first argument instead, and
if the connection is killed it blanks the pointer it points to, to make it
easier to detect usage problems whereever Curl_done() is used.
Daniel Stenberg [Mon, 17 May 2004 08:04:42 +0000 (08:04 +0000)]
better bailing out on memory failure
Daniel Stenberg [Mon, 17 May 2004 08:02:23 +0000 (08:02 +0000)]
When waiting for the second connect, we now use alarm to timeout the waiting.
This is necessary in case the client never connects or somehow fails to do
it timely. The timeout used now is only 2 seconds, which might cause problems
on really slow hosts but longer times are painful when doing torture testing
on FTP test cases.
I'm not sure how this 'alarm' functionality works on Windows or other systems
that don't actually have the alarm() function.
Daniel Stenberg [Mon, 17 May 2004 07:59:10 +0000 (07:59 +0000)]
improved the check for our own ftp server
Daniel Stenberg [Mon, 17 May 2004 07:45:20 +0000 (07:45 +0000)]
modified to not leak memory if a libcurl function returns failure, for better
memory leak detection
Daniel Stenberg [Mon, 17 May 2004 07:12:32 +0000 (07:12 +0000)]
Seshubabu Pasam's format fixes and added notes about DER not working for
some (SSL-)options.
Daniel Stenberg [Mon, 17 May 2004 06:55:04 +0000 (06:55 +0000)]
make it not leak memory when it returns prematurely
Daniel Stenberg [Mon, 17 May 2004 06:54:20 +0000 (06:54 +0000)]
automatically delete trailing white space on save in curl-mode
Daniel Stenberg [Mon, 17 May 2004 06:53:41 +0000 (06:53 +0000)]
bail out nicely if strdup() returns NULL, removed trailing whitespace
Daniel Stenberg [Mon, 17 May 2004 06:50:32 +0000 (06:50 +0000)]
deleted trailing whitespace
Daniel Stenberg [Mon, 17 May 2004 06:50:08 +0000 (06:50 +0000)]
fixed a warning on IRIX, deleted trailing whitespace
Daniel Stenberg [Fri, 14 May 2004 11:46:35 +0000 (11:46 +0000)]
added string for the new share error code
Daniel Stenberg [Fri, 14 May 2004 09:30:31 +0000 (09:30 +0000)]
Added CURLSHE_NOMEM
Daniel Stenberg [Fri, 14 May 2004 09:22:12 +0000 (09:22 +0000)]
clean up properly on failure to enable easier libcurl leak detection
Daniel Stenberg [Fri, 14 May 2004 09:21:42 +0000 (09:21 +0000)]
new cvs instructions
Daniel Stenberg [Fri, 14 May 2004 08:40:33 +0000 (08:40 +0000)]
enable memory debugging the same way the curl command line tool already does
Daniel Stenberg [Thu, 13 May 2004 15:19:02 +0000 (15:19 +0000)]
memory cleanup and check fix
Daniel Stenberg [Thu, 13 May 2004 15:18:29 +0000 (15:18 +0000)]
check that memory allocation functions truly return good data or bail out
Daniel Stenberg [Thu, 13 May 2004 15:17:49 +0000 (15:17 +0000)]
return on memory alloc fail
Daniel Stenberg [Thu, 13 May 2004 15:17:07 +0000 (15:17 +0000)]
better bailing out in case of no memory
Daniel Stenberg [Thu, 13 May 2004 15:16:36 +0000 (15:16 +0000)]
curl_free() doesn't free(NULL) but just returns
Daniel Stenberg [Thu, 13 May 2004 15:16:10 +0000 (15:16 +0000)]
deal with input arguments as NULL
Daniel Stenberg [Thu, 13 May 2004 14:14:03 +0000 (14:14 +0000)]
return CURLDIGEST_NOMEM when a memory function fails to deliver
Daniel Stenberg [Thu, 13 May 2004 14:13:12 +0000 (14:13 +0000)]
mark a value as alloced when strdup()ed to prevent memory leaks
Daniel Stenberg [Thu, 13 May 2004 14:12:49 +0000 (14:12 +0000)]
bail out when no memory occurs
Daniel Stenberg [Thu, 13 May 2004 10:40:17 +0000 (10:40 +0000)]
Gisle Vamem reintroduced the verifyconnect() call on windows as well, and
we now use it to provide more info back on connect failures.
Daniel Stenberg [Thu, 13 May 2004 10:38:57 +0000 (10:38 +0000)]
Gisle: minor fix
Daniel Stenberg [Thu, 13 May 2004 10:38:37 +0000 (10:38 +0000)]
no more Curl_ldap_done
Daniel Stenberg [Thu, 13 May 2004 09:01:15 +0000 (09:01 +0000)]
Added two two missing header files I missed when I removed the noinst_HEADERS
Daniel Stenberg [Thu, 13 May 2004 08:23:09 +0000 (08:23 +0000)]
added https.c
Daniel Stenberg [Thu, 13 May 2004 08:22:40 +0000 (08:22 +0000)]
basic https fetching script
Daniel Stenberg [Thu, 13 May 2004 07:52:33 +0000 (07:52 +0000)]
made 'runtests.pl -t' run over all the tests just like other command lines
Also made -t imply -n to disable valgrind, it runs sloooow otherwise.
This now manages to run all tests OK up to test case 100 (the first FTP one)
for me.
Daniel Stenberg [Thu, 13 May 2004 06:53:29 +0000 (06:53 +0000)]
James Bursa's patch to avoid free(NULL) (mainly because the libcurl memdebug
system thinks free(NULL) is badness)
Daniel Stenberg [Wed, 12 May 2004 13:24:40 +0000 (13:24 +0000)]
Check that memory functions return non-NULL or return error.
Daniel Stenberg [Wed, 12 May 2004 13:23:17 +0000 (13:23 +0000)]
make sure the returned pointer is NULL when encoding fails
Daniel Stenberg [Wed, 12 May 2004 13:05:01 +0000 (13:05 +0000)]
clean up and return better on out of memory
Daniel Stenberg [Wed, 12 May 2004 13:04:30 +0000 (13:04 +0000)]
return NULL on out of memory
Daniel Stenberg [Wed, 12 May 2004 12:06:39 +0000 (12:06 +0000)]
Curl_done() and the protocol-specific conn->curl_done() functions now all
take a CURLcode as a second argument, that is non-zero when Curl_done()
is called after an error was returned from Curl_do() (or similar).
Daniel Stenberg [Wed, 12 May 2004 12:05:13 +0000 (12:05 +0000)]
return faster when we "hit a wall" while printfing
Daniel Stenberg [Wed, 12 May 2004 12:04:38 +0000 (12:04 +0000)]
general cleanup to bail out nice and clean when a memory function fails
to deliver
Daniel Stenberg [Wed, 12 May 2004 09:02:54 +0000 (09:02 +0000)]
even if Curl_do() fails, we must call Curl_done() to do proper cleaning up
Daniel Stenberg [Wed, 12 May 2004 09:02:23 +0000 (09:02 +0000)]
improved cleaning up in case of memory allocation failures
Daniel Stenberg [Wed, 12 May 2004 08:26:56 +0000 (08:26 +0000)]
bail out if we can't allocate the new range string, and make use of aprintf()
instead of using snprintf() + strdup().
Daniel Stenberg [Wed, 12 May 2004 08:22:04 +0000 (08:22 +0000)]
Disable memdebug for the allocs done by the app, unless CURLTOOLDEBUG is
defined (which it never is atm).
Now, we can focus on making 'runtests -t [num]' work on all test cases and
we should never leak nor crash.
Daniel Stenberg [Wed, 12 May 2004 08:10:25 +0000 (08:10 +0000)]
new man page
Daniel Stenberg [Wed, 12 May 2004 08:00:21 +0000 (08:00 +0000)]
use size_t better for buffer and alloc lengths
Daniel Stenberg [Wed, 12 May 2004 07:56:01 +0000 (07:56 +0000)]
removed another jhrg-reference in a comment
Daniel Stenberg [Wed, 12 May 2004 07:55:05 +0000 (07:55 +0000)]
Edited comments only.
Daniel Stenberg [Wed, 12 May 2004 07:54:44 +0000 (07:54 +0000)]
The Curl_unencode_XXX_write() function take a ssize_t as third argument, so
we typecast on invoke.