Daniel Stenberg
efbe930a69
CURLE_HTTP_NOT_FOUND => CURLE_HTTP_RETURNED_ERROR
2002-12-18 16:51:02 +00:00
Daniel Stenberg
747f87f61e
Removed weird special multi interface condition that caused bug report
...
#651464 .
2002-12-17 10:05:00 +00:00
Daniel Stenberg
e879e26a5b
EAGAIN on older (correct) glibc versions indicate a problem and not the need
...
for a bigger buffer and this is indeed badness for us. Making this work
on both old and new glibc versions require an ugly loop that in its worse
form cause 45 bad loops when using the correct glibc and a non-resolving
host name... :-/
We want a better fix. Badly.
2002-12-16 11:33:44 +00:00
Daniel Stenberg
b528bde470
conn->bits.tcpconnect now keeps track of if this connection is connected
...
or not
2002-12-13 16:15:19 +00:00
Daniel Stenberg
3aea0d3d68
Evan Jordan's fix for a memory leak. Bug report 650989.
2002-12-13 14:08:49 +00:00
Daniel Stenberg
9ae920c1b6
make a little work-around for file:// in _is_connected() and voila, now the
...
multi interface works with file:// URLs fine (previously it crashed). This
won't make it work on Windows though...
2002-12-13 13:47:58 +00:00
Daniel Stenberg
db6ff224f8
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...
2002-12-10 13:10:00 +00:00
Daniel Stenberg
b3c7cd61f3
send_buffer is no more here
2002-12-10 13:08:22 +00:00
Daniel Stenberg
49f75ee8ce
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).
2002-12-09 16:05:57 +00:00
Daniel Stenberg
4bcc866c52
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).
2002-12-09 15:37:54 +00:00
Daniel Stenberg
f6cdb820af
read and write as much as possible until end of data or EWOULDBLOCK before
...
returning back to the select() loop. Consider this a test so far.
2002-12-05 14:26:30 +00:00
Daniel Stenberg
2ad2a4bd9f
changed proto for Curl_krb_kauth()
2002-12-05 11:26:20 +00:00
Daniel Stenberg
92aea29a30
make WIN32 defined for Borland properly, as told by Alexander J. Oss
2002-12-04 11:06:17 +00:00
Daniel Stenberg
d72aa49126
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.
2002-12-04 08:56:55 +00:00
Daniel Stenberg
d0b97f7e1f
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.
2002-12-03 10:25:31 +00:00
Daniel Stenberg
199a0311e2
updated to reality
2002-12-03 09:32:57 +00:00
Daniel Stenberg
ff5308a5af
if the PWD reply parser failed, we leaked memory
2002-12-02 07:18:24 +00:00
Daniel Stenberg
d27e4a08f9
more to ignore
2002-12-01 11:21:36 +00:00
Daniel Stenberg
bf678a1ca9
only use Content-Length: header if not transfering data chunked
2002-12-01 11:20:41 +00:00
Daniel Stenberg
e90d528026
let the Curl_FormReader() return 0 when it reaches end of data to that the
...
chunked transfer work
2002-11-29 08:12:20 +00:00
Daniel Stenberg
d64dd77993
fix the hash init to call the correct dns cleanup function
2002-11-28 15:48:54 +00:00
Daniel Stenberg
113850a748
added compareheader proto
2002-11-28 15:48:23 +00:00
Daniel Stenberg
1c49a00d64
compareheader() was moved over to http.c and got a Curl_ prefix
...
The chunked transfer upload never stopped due to a silly add before we checked
for >0!
2002-11-28 15:46:22 +00:00
Daniel Stenberg
eef6c83503
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!
2002-11-28 15:45:06 +00:00
Daniel Stenberg
e5e2fb8274
Dan Becker fixed a minor memory leak on persistent connnections using
...
FOLLOWLOCATION and CURLOPT_USERPWD.
2002-11-26 17:32:15 +00:00
Daniel Stenberg
7df5677b46
fixed Curl_freeaddrinfo() to only free addrinfo, and added Curl_freednsinfo()
...
for freeing single dns cache entries
2002-11-26 09:41:54 +00:00
sm
2e71876b28
Removed MFC dependency in Release Build when using VC++ IDE
2002-11-26 02:12:27 +00:00
Daniel Stenberg
11576b1142
Nedelcho Stanev's work-around for SFU 3.0
2002-11-24 19:30:21 +00:00
Daniel Stenberg
ce011b8a2d
bug fix for the problem Juan Ignacio Hervs discovered today
2002-11-22 16:59:40 +00:00
Daniel Stenberg
8bca5e05b8
Kjetil Jacobsen's patch that introduces CURLOPT_PRIVATE and CURLINFO_PRIVATE
...
for storage and retrieval of private data in the curl handle.
2002-11-20 19:11:22 +00:00
Daniel Stenberg
e0ec9fa294
no more dllinit.o usage
2002-11-15 14:13:05 +00:00
Daniel Stenberg
210af986ad
dllinit.c is removed
2002-11-13 22:16:44 +00:00
Daniel Stenberg
c03044f492
not used and we don't have permission to distribute this!
2002-11-13 22:16:16 +00:00
Daniel Stenberg
208e56dbe9
removed dllinit.c as MSVC doesn't need it
2002-11-12 08:15:38 +00:00
Daniel Stenberg
42acb00c81
moved the bools in the connectdata struct into the substruct named
...
ConnectBits where the other bools already are
2002-11-11 23:03:03 +00:00
Daniel Stenberg
ca6e770837
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.
2002-11-11 22:51:09 +00:00
Daniel Stenberg
66eb98bb0a
unlock dns cache entries with a function call instead of a variable fiddle
2002-11-11 22:36:00 +00:00
Daniel Stenberg
299546f5c0
Dave Halbakken added curl_version_info
2002-11-11 21:57:14 +00:00
Daniel Stenberg
03c22b4576
Now supports "Transfer-Encoding: chunked" for HTTP PUT operations where the
...
size of the uploaded file is unknown.
2002-11-11 08:40:37 +00:00
Daniel Stenberg
ef749fa9ce
Bug report #634625 identified how curl returned timeout immediately when
...
CURLOPT_CONNECTTIMEOUT was used and provided a fix.
2002-11-07 08:45:10 +00:00
Daniel Stenberg
cbf28daed9
Lehel Bernadt's fix to prevent debug message to get sent on errors when
...
debug wasn't enabled
2002-11-05 11:11:10 +00:00
Daniel Stenberg
0ff1ca30c3
ipv4-fixes for the new Curl_dns_entry struct and Curl_resolv() proto
2002-11-05 11:07:49 +00:00
Daniel Stenberg
2cff251863
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.
2002-11-05 10:51:41 +00:00
Daniel Stenberg
5bc78cb724
Disable the DNS cache (by setting the timeout to 0) made libcurl leak
...
memory. Avery Fay brought the example code that proved this.
2002-10-31 13:09:11 +00:00
Daniel Stenberg
cdba92ac3c
when using checkprefix(), the first argument must be the prefix!
2002-10-28 22:19:23 +00:00
Daniel Stenberg
6d28f92ffe
Transfer-Encoding: needs 17 bytes passed, not 18
2002-10-28 21:52:27 +00:00
Daniel Stenberg
01387f42c5
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)
2002-10-28 21:52:00 +00:00
Daniel Stenberg
8f52b731f4
the malloc debug system assumes single thread
2002-10-28 21:05:14 +00:00
Daniel Stenberg
01bdfa7b6d
Kevin Roth's fixes that use $(RM) instead of @erase and modified SSL version
2002-10-28 19:38:46 +00:00
Daniel Stenberg
6a88c8d845
prevent compiler warning
2002-10-28 19:21:30 +00:00