Daniel Stenberg [Tue, 10 Dec 2002 13:10:00 +0000 (13:10 +0000)]
The initial HTTP request can now be sent in multiple parts, as part of the
regular transfer process. This required some new tweaks, like for example
we need to be able to tell the tranfer loop to not chunky-encode uploads
while we're transferring the rest of the request...
Daniel Stenberg [Tue, 10 Dec 2002 13:00:32 +0000 (13:00 +0000)]
Test case for sending insanely big HTTP requests. Mainly done this way to
make sure that it isn't all sent off in one single send() but instead
really tests the multiple-part-send logic.
Daniel Stenberg [Mon, 9 Dec 2002 16:05:57 +0000 (16:05 +0000)]
A normal POST now provides data to the main transfer loop via the usual
read callback, and thus won't put a lot of stress on the request sending
code (which currently does an ugly loop).
Daniel Stenberg [Mon, 9 Dec 2002 15:37:54 +0000 (15:37 +0000)]
The fread() callback pointer and associated pointer is now stored in the
connectdata struct instead, and is no longer modified within the 'set' struct
as previously (which was a really BAAAD thing).
Daniel Stenberg [Wed, 4 Dec 2002 08:56:55 +0000 (08:56 +0000)]
The waiting for the 226 or 250 line expected to come after a transfer is
complete is now only made for 60 seconds and if no data was received during
those 60 seconds, we store a special error message (preparing to make this
a special error code) as this most likely means that the control connection
has died while we were transferring data.
Daniel Stenberg [Tue, 3 Dec 2002 10:25:31 +0000 (10:25 +0000)]
Curl_GetFTPResponse() takes a different set of parameters and now return a
proper CURLcode. The default timeout for reading one response is now also
possible to change while running.
Daniel Stenberg [Thu, 28 Nov 2002 15:45:06 +0000 (15:45 +0000)]
Moved the compareheader function into this file and added Curl_ prefix
We now check if the chunked transfer-encoding header has been added "by force"
and if so, we enabled the chunky upload!
Daniel Stenberg [Wed, 20 Nov 2002 19:04:34 +0000 (19:04 +0000)]
Karol Pietrzak pointed out that simply including the include dir in --cflags
is not a good thing, as recent gccs for example complain if it is /usr/include
Right now, we just output "" until we think of something better.
Daniel Stenberg [Mon, 11 Nov 2002 22:51:09 +0000 (22:51 +0000)]
The test for DNS cache entries left locked is now only built if
AGGRESIVE_TEST is also defined, as an addition to MALLOCDEBUG. It doesn't
work for multi interface usage and should only be used with careful
consideration.
Daniel Stenberg [Tue, 5 Nov 2002 10:51:41 +0000 (10:51 +0000)]
Curl_resolv() now returns a different struct, and it contains a reference
counter so that the caller needs to decrease that counter when done with
the returned data.
If compiled with MALLOCDEBUG I've added some extra checking that the counter
is decreased before a handle is closed etc.
Daniel Stenberg [Mon, 28 Oct 2002 21:52:00 +0000 (21:52 +0000)]
kromJx@crosswinds.net's fix that now uses checkprefix() instead of
strnequal() when the third argument was strlen(first argument) anyway.
This makes it less prone to errors. (Slightly edited by me)
Daniel Stenberg [Mon, 28 Oct 2002 19:49:58 +0000 (19:49 +0000)]
Kevin Roth's patch that checks for the CA cert file at two more places if the
--cacert option is not used.
1. An environment variable named CURL_CA_BUNDLE may contain the full file
name to the file.
2. On Windows, the cert file may be named curl-ca-bundle.crt and put in the
same dir as curl is located (or the CWD) and curl will then use that file
instead.