Daniel Stenberg
|
f2fd1b8856
|
two new random seed options: CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET
|
2001-03-12 15:47:17 +00:00 |
|
Daniel Stenberg
|
46c9075eab
|
updated the comment for the chunked reading
|
2001-03-12 15:21:11 +00:00 |
|
Daniel Stenberg
|
d95fa648e9
|
made it return illegal hex in case no hexadecimal digit was read when at
least one was expected
|
2001-03-12 15:20:35 +00:00 |
|
Daniel Stenberg
|
563ad213dc
|
added an error code for illegal hex values in the chunked stream
|
2001-03-12 15:20:02 +00:00 |
|
Daniel Stenberg
|
38c349f751
|
support for a few new libcurl 7.7 CURLOPT_* options added
|
2001-03-12 15:05:54 +00:00 |
|
Daniel Stenberg
|
d774b10afb
|
Added infof() calls for persistant connection info, we are very likely to
need these at least for debugging 7.7 and probably later as well...
|
2001-03-12 13:58:03 +00:00 |
|
Daniel Stenberg
|
5bbe189420
|
modified Curl_disconnect() so that it unlinks itself from the data struct,
it saves me from more mistakes when the connectindex is -1 ... also, there's
no point in having its parent do it as all parents would do it anyway.
|
2001-03-12 10:13:42 +00:00 |
|
Daniel Stenberg
|
8eb8a0a8e4
|
bugfix: don't use the connectindex if it is -1
|
2001-03-12 09:44:57 +00:00 |
|
Daniel Stenberg
|
e9b763ff05
|
use the new name and hostname even though an old connection is reused, since
we can re-use a proxy connection that actually has different host names on
the same connection
|
2001-03-09 16:50:08 +00:00 |
|
Daniel Stenberg
|
ac0bad2433
|
remake Host: for each connection and it'll work with proxies too
|
2001-03-09 16:48:18 +00:00 |
|
Daniel Stenberg
|
67d5c0a970
|
for HTTP/1.0 we default to non keep-alive connections, but when we get a
1.0-reply from a proxy we use and the Proxy-Connection: keep-alive header
is used, we switch it on and live happily ever after
|
2001-03-09 16:02:59 +00:00 |
|
Daniel Stenberg
|
580896d615
|
Added httpversion to the progress struct, we do read it, we can just as well
store it.
|
2001-03-09 15:58:36 +00:00 |
|
Daniel Stenberg
|
2b30bfc349
|
all comments for the former public "low level" interface have been removed
since they were out-of-date and not correct anymore.
moved around some struct fields
|
2001-03-09 15:19:42 +00:00 |
|
Daniel Stenberg
|
8ec4dba599
|
removed handles and states from the main structs
renamed prefixes from curl_ to Curl_
made persistant connections work with http proxies (at least partly)
|
2001-03-09 15:18:25 +00:00 |
|
Daniel Stenberg
|
1efec6572e
|
curl_transfer became Curl_perform() to better match the public name and
use the correct prefix
|
2001-03-09 15:17:09 +00:00 |
|
Daniel Stenberg
|
781dd7a9bf
|
prefix changes curl_ to Curl_
made it work (partly) with persistant connections for HTTP/1.0 replies
moved the 'newurl' struct field for Location: to the connectdata struct
|
2001-03-09 15:16:28 +00:00 |
|
Daniel Stenberg
|
beb8761b22
|
#include <string.h> removed a warning
|
2001-03-09 15:14:51 +00:00 |
|
Daniel Stenberg
|
071c7de9fe
|
removed curl_read() and curl_write() - they weren't used and the public
"low leve" interface is dumped
|
2001-03-09 15:14:22 +00:00 |
|
Daniel Stenberg
|
3e7ebcd051
|
uses socklen_t now
|
2001-03-09 15:13:34 +00:00 |
|
Daniel Stenberg
|
c67952fc5c
|
curl_ prefix modified to Curl_
|
2001-03-09 15:13:11 +00:00 |
|
Daniel Stenberg
|
7d7c24f915
|
accept() and getsockname() now use socklen_t types, as that was just added
to configure
|
2001-03-09 15:12:22 +00:00 |
|
Daniel Stenberg
|
0dc8c4d451
|
use unsigned int hex to receive the hex digit in, caused a warning with
-Wall and a new gcc
|
2001-03-09 15:11:39 +00:00 |
|
Daniel Stenberg
|
9cf4434ae2
|
Modified to use Curl_* functions instead of curl_* ones
|
2001-03-09 15:10:58 +00:00 |
|
Daniel Stenberg
|
5cd4c3ed24
|
return from transfer when all headers have been received and nobody is set,
as is the case when doing HEAD requests
|
2001-03-08 10:32:27 +00:00 |
|
Daniel Stenberg
|
a23db7b7c7
|
"Transfer-Encoding: chunked" support added
|
2001-03-07 23:51:41 +00:00 |
|
Daniel Stenberg
|
f6b6dff46a
|
added the http_chunks files
|
2001-03-07 23:50:00 +00:00 |
|
Daniel Stenberg
|
55b8ceac18
|
chunked transfer encoding support
|
2001-03-07 23:28:22 +00:00 |
|
Daniel Stenberg
|
91e4da7ddb
|
initial chunked transfer-encoding support
|
2001-03-07 17:12:12 +00:00 |
|
Daniel Stenberg
|
2873c18132
|
removed compiler warning if HAVE_RAND_STATUS is false
|
2001-03-07 17:08:20 +00:00 |
|
Daniel Stenberg
|
2ef13230cb
|
new seeding stuff as mentioned by Albert Chin
|
2001-03-06 00:04:58 +00:00 |
|
Daniel Stenberg
|
fe95c7dc34
|
removed an incorrect comment
|
2001-03-05 14:52:23 +00:00 |
|
Daniel Stenberg
|
0cb4eba002
|
free the struct on done
|
2001-03-05 14:01:13 +00:00 |
|
Daniel Stenberg
|
5eba359b5d
|
telnet without any static variables
|
2001-03-05 13:59:43 +00:00 |
|
Daniel Stenberg
|
07ce7539a8
|
set download size properly for HTTP downloads
|
2001-03-05 13:40:31 +00:00 |
|
Daniel Stenberg
|
c21f848c1c
|
enable persistant connections by default
|
2001-03-05 13:40:08 +00:00 |
|
Daniel Stenberg
|
84e94fda8b
|
remade FILE:// support to look more as the other protocols
|
2001-03-05 13:39:01 +00:00 |
|
Daniel Stenberg
|
cf8704ccdf
|
7.7 alpha 2 commit
|
2001-03-04 16:34:20 +00:00 |
|
Daniel Stenberg
|
90ac37a683
|
Curl_http() could crash on connection re-use
|
2001-03-04 15:25:54 +00:00 |
|
Daniel Stenberg
|
dd893fd8a4
|
ipv6 fix for the 'port' no longer in urldata
|
2001-03-03 17:50:01 +00:00 |
|
Daniel Stenberg
|
d1cfbd51b5
|
remade the port number stuff so that following locations work and doing
intermixed HTTP and FTP persistant connections also work!
|
2001-03-02 15:34:15 +00:00 |
|
Daniel Stenberg
|
a3ba6b7a6a
|
Added the disconnect proto
|
2001-03-02 07:44:22 +00:00 |
|
Daniel Stenberg
|
415d2e7cb7
|
removed the slist -functions from here
added the Curl_ftp_disconnect function for FTP-specific disconnects
|
2001-03-02 07:44:05 +00:00 |
|
Daniel Stenberg
|
af4451ec26
|
improved connections
|
2001-03-02 07:43:20 +00:00 |
|
Daniel Stenberg
|
7c6562683a
|
extending connectdata
|
2001-03-02 07:42:35 +00:00 |
|
Daniel Stenberg
|
b6fa2f882c
|
moved the slist-functions here from FTP since they're more generic than simply
for FTP-stuff
|
2001-03-02 07:42:11 +00:00 |
|
Daniel Stenberg
|
b6c5da337a
|
strdup() takes a const char * now
|
2001-03-02 07:41:40 +00:00 |
|
Daniel Stenberg
|
9bc24e4876
|
cleanup better when connects fail
|
2001-02-28 14:03:46 +00:00 |
|
Daniel Stenberg
|
4af55809e4
|
added some infof() calls for persistant info
|
2001-02-22 23:51:17 +00:00 |
|
Daniel Stenberg
|
9c63fcf210
|
we only allocate the HTTP struct if we need to
|
2001-02-22 23:41:15 +00:00 |
|
Daniel Stenberg
|
1f17fb5f89
|
Now persistant connection download works thanks to the Content-Length taken
into account
|
2001-02-22 23:32:41 +00:00 |
|
Daniel Stenberg
|
584dbffe60
|
moved the dynamicly set pointers to the connectdata struct
|
2001-02-22 23:32:02 +00:00 |
|
Daniel Stenberg
|
da06a6e7e3
|
IPv6-adjustments
|
2001-02-21 17:15:09 +00:00 |
|
Daniel Stenberg
|
46e0937263
|
corrected memory leaks when re-using connections
|
2001-02-20 17:46:35 +00:00 |
|
Daniel Stenberg
|
a1d6ad2610
|
multiple connection support initial commit
|
2001-02-20 17:35:51 +00:00 |
|
Daniel Stenberg
|
2078c1a01a
|
added two VC++ files for project stuff
|
2001-02-19 09:29:40 +00:00 |
|
Daniel Stenberg
|
f7a8909372
|
Made CURLOPT_POST no longer necessary when CURLOPT_POSTFIELDS is used
|
2001-02-19 09:29:19 +00:00 |
|
Daniel Stenberg
|
250df30e64
|
Moved a bunch of prototypes from curl.h here, they're no longer public and
I merely stuffed them here before I decide where they belong and if they
are to remain at all
|
2001-02-19 09:28:10 +00:00 |
|
Daniel Stenberg
|
630e932091
|
MS VC++ stuff
|
2001-02-19 09:26:29 +00:00 |
|
Daniel Stenberg
|
cdabd67aa9
|
Bob Schader updated this
|
2001-02-19 09:26:01 +00:00 |
|
Daniel Stenberg
|
ce95d2020f
|
better english timeouted => timed out, as suggested by Larry Fahnoe
|
2001-02-13 21:57:04 +00:00 |
|
Daniel Stenberg
|
a140e5311d
|
moved the protocol-specific free to allow easier multiple transfers
|
2001-02-13 13:34:16 +00:00 |
|
Daniel Stenberg
|
c107303ade
|
very minor indentation fix
|
2001-02-12 08:22:19 +00:00 |
|
Daniel Stenberg
|
21b05afc99
|
removed getenv.h from the package as it was unused
|
2001-02-12 08:21:45 +00:00 |
|
Daniel Stenberg
|
eebcf7d4f5
|
Not used anymore
|
2001-02-09 07:33:58 +00:00 |
|
Daniel Stenberg
|
8d169dfadd
|
Added a failf() call in the error-check just added
|
2001-02-09 07:14:28 +00:00 |
|
Daniel Stenberg
|
b12e334d83
|
if netrc is parsed and our host was found in there, set data->bits.user_passwd
unconditioanlly!
|
2001-02-08 13:53:13 +00:00 |
|
Daniel Stenberg
|
7e36c4437e
|
today's FTP response check fix
|
2001-02-08 13:52:38 +00:00 |
|
Daniel Stenberg
|
61e2a8108b
|
7.6.1-pre3
|
2001-02-07 09:49:06 +00:00 |
|
Daniel Stenberg
|
abb14de7e0
|
GetLine() didn't properly act on -1 lengths returned from Curl_read()
|
2001-02-07 09:31:03 +00:00 |
|
Daniel Stenberg
|
58d70db92e
|
no longer #includes "getenv.h"
|
2001-02-07 08:36:23 +00:00 |
|
Daniel Stenberg
|
09f6fc22ed
|
silly me, corrected the strlcat() to compile
|
2001-02-06 09:12:39 +00:00 |
|
Daniel Stenberg
|
833ce37cb9
|
new openbsd inspired implementation of strlcat()
|
2001-02-06 09:08:24 +00:00 |
|
Daniel Stenberg
|
db70cd28b3
|
adjusted the IPv6 stuff to compile and build on Linux as well
|
2001-02-05 23:35:44 +00:00 |
|
Daniel Stenberg
|
f6e2bfd464
|
Jun-ichiro itojun Hagino's IPv6 adjustments
|
2001-02-05 23:04:44 +00:00 |
|
Daniel Stenberg
|
6f7c70fbbc
|
CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD were
added as suggested by Bob Schader
|
2001-02-04 20:03:30 +00:00 |
|
Daniel Stenberg
|
9ab5d30e3b
|
Ingo Ralf Blum made it compile with the newest cygwin
|
2001-02-04 19:00:27 +00:00 |
|
Daniel Stenberg
|
9464c5430d
|
Curl_read() uses ssize_t now
|
2001-01-31 15:06:56 +00:00 |
|
Daniel Stenberg
|
a14aaaf23f
|
fixed up the telnet to work (using support from Linus Nielsen)
|
2001-01-31 15:05:44 +00:00 |
|
Daniel Stenberg
|
c41c5a0ef2
|
curl_read() and Curl_read() now have ssize_t in the last argument
|
2001-01-31 13:54:12 +00:00 |
|
Daniel Stenberg
|
1bcd3e601a
|
changed order of the range and follow-location checks so that a range-request
will work even when following a Location:
|
2001-01-30 11:52:59 +00:00 |
|
Daniel Stenberg
|
513bc44421
|
HTTP PUT resume now sends Content-Range: headers as I believe the RFC2616
describes, Bob Schader's research seems to agree.
|
2001-01-29 07:24:20 +00:00 |
|
Daniel Stenberg
|
4cc76d1576
|
upload sets HTTP request to PUT for "HTTP upload"
|
2001-01-29 07:23:11 +00:00 |
|
Daniel Stenberg
|
c69c79dd04
|
bettersupport for HTTP return codes 300-399
|
2001-01-27 20:31:51 +00:00 |
|
Daniel Stenberg
|
3a8210c975
|
Resume is now done with a Content-Range header instead of a Range header if
the request isn't GET. Presumably, this is how it should be made.
|
2001-01-27 18:57:07 +00:00 |
|
Daniel Stenberg
|
c8a546c941
|
The progess meter title get an extra output when a resumed transfer is
taking place
|
2001-01-27 18:23:59 +00:00 |
|
Daniel Stenberg
|
62fec1d28d
|
data->httpreq was not set properly
|
2001-01-27 17:58:15 +00:00 |
|
Daniel Stenberg
|
fcb347d124
|
Added a httpreq field in the main struct so that there's one field to check
for what HTTP request that is being used. The old bit-style fields are still
in there as well.
|
2001-01-26 15:52:01 +00:00 |
|
Daniel Stenberg
|
c331ef02f9
|
The check for that content-range is received must only be made if we requested
GET resume. Other resumes are upload-wise and don't care about this header
in the download stream
|
2001-01-26 15:50:56 +00:00 |
|
Daniel Stenberg
|
3a3f632bf0
|
Made it possible to do "upload resume" over HTTP
|
2001-01-26 15:49:39 +00:00 |
|
Daniel Stenberg
|
c43a9d9068
|
timespent is now updated in every call to the progress meter update function
|
2001-01-25 12:32:40 +00:00 |
|
Daniel Stenberg
|
149d6363b3
|
modified the Curl_ConnectHTTPProxyTunnel proto
|
2001-01-25 12:24:34 +00:00 |
|
Daniel Stenberg
|
30eab8ca51
|
moved curl_read() and curl_write() to sendf.c
|
2001-01-25 12:23:57 +00:00 |
|
Daniel Stenberg
|
e49a82b06c
|
converted to use Curl_read() and Curl_write()
|
2001-01-25 12:23:12 +00:00 |
|
Daniel Stenberg
|
45fdb48189
|
uses Curl_read() and Curl_write()
unfolded telwrite() instead of being a separate single function
|
2001-01-25 12:22:17 +00:00 |
|
Daniel Stenberg
|
3fcc9677c4
|
use recv()/send() instead of read()/write() with sockets
|
2001-01-25 12:21:10 +00:00 |
|
Daniel Stenberg
|
1552bd9c8c
|
sendf is now only Curl_sendf
Curl_write() and Curl_read() are here
|
2001-01-25 12:20:30 +00:00 |
|
Daniel Stenberg
|
939c0c5521
|
removed two compiler warnings
|
2001-01-25 12:19:36 +00:00 |
|
Daniel Stenberg
|
f0b9aefd2e
|
Curl_read() and Curl_write() are now used for reading/writing sockets.
Some functions changed prototype due to this change as well.
|
2001-01-25 12:19:02 +00:00 |
|
Daniel Stenberg
|
11f3c51e8f
|
Get get-ftp-response function is now using Curl_read() for reading from a
socket. Curl_ConnectHTTPProxyTunnel changed prototype.
|
2001-01-25 12:17:07 +00:00 |
|
Daniel Stenberg
|
1a329b98a3
|
replaced sendf() calls with Curl_sendf()
|
2001-01-25 12:13:35 +00:00 |
|