curl
24 years agoBjörn Stenberg corrected the silly '(void)data' usage when SSL is not
Daniel Stenberg [Wed, 14 Mar 2001 10:15:42 +0000 (10:15 +0000)]
Björn Stenberg corrected the silly '(void)data' usage when SSL is not
used

24 years agoJörn's updated file
Daniel Stenberg [Wed, 14 Mar 2001 10:06:23 +0000 (10:06 +0000)]
Jörn's updated file

24 years agothe URL escape/unescape functions are also public but undocumented
Daniel Stenberg [Wed, 14 Mar 2001 08:59:34 +0000 (08:59 +0000)]
the URL escape/unescape functions are also public but undocumented

24 years agoFirst Jörn's updates were applied, then
Daniel Stenberg [Wed, 14 Mar 2001 08:58:36 +0000 (08:58 +0000)]
First Jörn's updates were applied, then
my take at removing the private functions from the list, then I renamed
the *str(n)equal functions...

24 years agono longer includes the curl/types.h and curl/easy.h include files
Daniel Stenberg [Wed, 14 Mar 2001 08:55:17 +0000 (08:55 +0000)]
no longer includes the curl/types.h and curl/easy.h include files
explicitly, as they're taken care of indirectly by curl/curl.h these
days.

24 years agoincreased the 'current' number for the interface
Daniel Stenberg [Wed, 14 Mar 2001 08:54:18 +0000 (08:54 +0000)]
increased the 'current' number for the interface

24 years agoCurl_str(n)equal renamed to curl_str(n)equal
Daniel Stenberg [Wed, 14 Mar 2001 08:53:31 +0000 (08:53 +0000)]
Curl_str(n)equal renamed to curl_str(n)equal

24 years agodocumented the undocumented public functions in libcurl
Daniel Stenberg [Wed, 14 Mar 2001 08:51:04 +0000 (08:51 +0000)]
documented the undocumented public functions in libcurl

24 years agochunked bugfix, Jörn's fixes, the interface number increase
Daniel Stenberg [Wed, 14 Mar 2001 08:49:11 +0000 (08:49 +0000)]
chunked bugfix, Jörn's fixes, the interface number increase

24 years agoThe Curl_* prefixes are now changed for curl_* ones, as these two functions
Daniel Stenberg [Wed, 14 Mar 2001 08:47:56 +0000 (08:47 +0000)]
The Curl_* prefixes are now changed for curl_* ones, as these two functions
are used externally and thus are public symbols.

24 years agoJörn added "#define socklen_t int"
Daniel Stenberg [Wed, 14 Mar 2001 08:28:54 +0000 (08:28 +0000)]
Jörn added "#define socklen_t int"

24 years agoJörn fixed it to compile on win32 again
Daniel Stenberg [Wed, 14 Mar 2001 08:28:19 +0000 (08:28 +0000)]
Jörn fixed it to compile on win32 again

24 years agoJörn Hartroth added a set of files
Daniel Stenberg [Wed, 14 Mar 2001 08:23:51 +0000 (08:23 +0000)]
Jörn Hartroth added a set of files

24 years agoJörn Hartroth fixed a bad #endif placement
Daniel Stenberg [Wed, 14 Mar 2001 08:20:41 +0000 (08:20 +0000)]
Jörn Hartroth fixed a bad #endif placement

24 years agore-added the default switch for weird states
Daniel Stenberg [Tue, 13 Mar 2001 23:29:53 +0000 (23:29 +0000)]
re-added the default switch for weird states

24 years agoremoved the random seeding and persistant stuff, as both are already in
Daniel Stenberg [Tue, 13 Mar 2001 22:31:56 +0000 (22:31 +0000)]
removed the random seeding and persistant stuff, as both are already in
this version!

24 years agoAdded a failf() error message when the chunked read returns failure
Daniel Stenberg [Tue, 13 Mar 2001 22:20:14 +0000 (22:20 +0000)]
Added a failf() error message when the chunked read returns failure

24 years agoupdated the chunked state-machine to deal with the trailing CRLF that comes
Daniel Stenberg [Tue, 13 Mar 2001 22:16:42 +0000 (22:16 +0000)]
updated the chunked state-machine to deal with the trailing CRLF that comes
after the data part

24 years agomade 'X to Y' sequences not include X twice
Daniel Stenberg [Tue, 13 Mar 2001 22:14:53 +0000 (22:14 +0000)]
made 'X to Y' sequences not include X twice

24 years agocorrected the chunked format
Daniel Stenberg [Tue, 13 Mar 2001 22:13:06 +0000 (22:13 +0000)]
corrected the chunked format

24 years ago7.7 beta 2 fixes curl-7_7-beta2
Daniel Stenberg [Tue, 13 Mar 2001 15:44:31 +0000 (15:44 +0000)]
7.7 beta 2 fixes

24 years agoEXTRA_DIST got too long, I shortened it now but we have to do something
Daniel Stenberg [Tue, 13 Mar 2001 13:31:14 +0000 (13:31 +0000)]
EXTRA_DIST got too long, I shortened it now but we have to do something
else as it will grow a lot more...

24 years agofailf() now respects the mute flag
Daniel Stenberg [Tue, 13 Mar 2001 13:22:58 +0000 (13:22 +0000)]
failf() now respects the mute flag

24 years agoGuenole Bescon's bug found on march 8 is added
Daniel Stenberg [Tue, 13 Mar 2001 13:14:21 +0000 (13:14 +0000)]
Guenole Bescon's bug found on march 8 is added

24 years agoexchanged I and me to we and us in a lot of places
Daniel Stenberg [Tue, 13 Mar 2001 11:47:30 +0000 (11:47 +0000)]
exchanged I and me to we and us in a lot of places
updated for persistant connections and 7.7

24 years agoAdded test case 37, HTTP GET with name+password in the URL
Daniel Stenberg [Tue, 13 Mar 2001 09:44:09 +0000 (09:44 +0000)]
Added test case 37, HTTP GET with name+password in the URL

24 years agoa whole new section on persitant connections and how they're treated
Daniel Stenberg [Tue, 13 Mar 2001 08:16:54 +0000 (08:16 +0000)]
a whole new section on persitant connections and how they're treated
internally

24 years agowe speak HTTP 1.1 now
Daniel Stenberg [Tue, 13 Mar 2001 08:16:25 +0000 (08:16 +0000)]
we speak HTTP 1.1 now
more braging about the portability

24 years agoclose policies
Daniel Stenberg [Tue, 13 Mar 2001 07:59:19 +0000 (07:59 +0000)]
close policies

24 years agoinitial close policy support
Daniel Stenberg [Tue, 13 Mar 2001 07:54:18 +0000 (07:54 +0000)]
initial close policy support

24 years agoAdded 'created' to the connectdata struct to hold the creation date, to
Daniel Stenberg [Tue, 13 Mar 2001 07:53:59 +0000 (07:53 +0000)]
Added 'created' to the connectdata struct to hold the creation date, to
be used for the close policy decision

24 years agoCurl_tvnow is now properly declared with (void)
Daniel Stenberg [Tue, 13 Mar 2001 07:53:06 +0000 (07:53 +0000)]
Curl_tvnow is now properly declared with (void)

24 years agocurl_getinfo is removed, not a public function
Daniel Stenberg [Tue, 13 Mar 2001 07:46:19 +0000 (07:46 +0000)]
curl_getinfo is removed, not a public function

24 years agoadded --random-file and --egd-file to the command line client
Daniel Stenberg [Mon, 12 Mar 2001 16:02:29 +0000 (16:02 +0000)]
added --random-file and --egd-file to the command line client

24 years agoAdded the two new seeding options
Daniel Stenberg [Mon, 12 Mar 2001 15:52:18 +0000 (15:52 +0000)]
Added the two new seeding options

24 years agotwo new random seed options for the ssl config struct
Daniel Stenberg [Mon, 12 Mar 2001 15:47:41 +0000 (15:47 +0000)]
two new random seed options for the ssl config struct

24 years agotwo new random seed options: CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET
Daniel Stenberg [Mon, 12 Mar 2001 15:47:17 +0000 (15:47 +0000)]
two new random seed options: CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET

24 years agobetter chunked error detection
Daniel Stenberg [Mon, 12 Mar 2001 15:29:04 +0000 (15:29 +0000)]
better chunked error detection

24 years agoAdded test case 36:
Daniel Stenberg [Mon, 12 Mar 2001 15:27:01 +0000 (15:27 +0000)]
Added test case 36:
[HTTP GET with badly formatted chunked Transfer-Encoding]

24 years agoupdated the comment for the chunked reading
Daniel Stenberg [Mon, 12 Mar 2001 15:21:11 +0000 (15:21 +0000)]
updated the comment for the chunked reading

24 years agomade it return illegal hex in case no hexadecimal digit was read when at
Daniel Stenberg [Mon, 12 Mar 2001 15:20:35 +0000 (15:20 +0000)]
made it return illegal hex in case no hexadecimal digit was read when at
least one was expected

24 years agoadded an error code for illegal hex values in the chunked stream
Daniel Stenberg [Mon, 12 Mar 2001 15:20:02 +0000 (15:20 +0000)]
added an error code for illegal hex values in the chunked stream

24 years agoAdded new libcurl options in include/curl/curl.h, they're documented in
Daniel Stenberg [Mon, 12 Mar 2001 15:11:38 +0000 (15:11 +0000)]
Added new libcurl options in include/curl/curl.h, they're documented in
curl_easy_setopt.3 and they're partly implemented in lib/url.c

Slowly, we're getting there...

24 years agoAdded options for the persistant support, they're also documented in
Daniel Stenberg [Mon, 12 Mar 2001 15:06:29 +0000 (15:06 +0000)]
Added options for the persistant support, they're also documented in
curl_easy_setopt.3 now

24 years agosupport for a few new libcurl 7.7 CURLOPT_* options added
Daniel Stenberg [Mon, 12 Mar 2001 15:05:54 +0000 (15:05 +0000)]
support for a few new libcurl 7.7 CURLOPT_* options added

24 years agoAdded four new options that come with the new persitant support:
Daniel Stenberg [Mon, 12 Mar 2001 14:54:00 +0000 (14:54 +0000)]
Added four new options that come with the new persitant support:
CURLOPT_MAXCONNECTS, CURLOPT_CLOSEPOLICY, CURLOPT_FRESH_CONNECT and
CURLOPT_FORBID_REUSE

24 years agothe client is adjusted to work with persistant curl handles, and *gee* it
Daniel Stenberg [Mon, 12 Mar 2001 13:59:38 +0000 (13:59 +0000)]
the client is adjusted to work with persistant curl handles, and *gee* it
seems to be working!!!

24 years agoAdded infof() calls for persistant connection info, we are very likely to
Daniel Stenberg [Mon, 12 Mar 2001 13:58:03 +0000 (13:58 +0000)]
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...

24 years agomoved the libcurl init call
Daniel Stenberg [Mon, 12 Mar 2001 13:57:02 +0000 (13:57 +0000)]
moved the libcurl init call

24 years agopersistant updates
Daniel Stenberg [Mon, 12 Mar 2001 13:55:06 +0000 (13:55 +0000)]
persistant updates

24 years agoadded a note about persitant connections through HTTP proxies
Daniel Stenberg [Mon, 12 Mar 2001 13:54:46 +0000 (13:54 +0000)]
added a note about persitant connections through HTTP proxies

24 years agoAdded some persistant notes
Daniel Stenberg [Mon, 12 Mar 2001 13:54:10 +0000 (13:54 +0000)]
Added some persistant notes

24 years agomodified to make the curl client with persistant connection support do
Daniel Stenberg [Mon, 12 Mar 2001 13:47:07 +0000 (13:47 +0000)]
modified to make the curl client with persistant connection support do
correct

24 years agoinclude the failed test case numbers in the end summary
Daniel Stenberg [Mon, 12 Mar 2001 13:46:23 +0000 (13:46 +0000)]
include the failed test case numbers in the end summary

24 years agoAdded description of the new test case ranges support
Daniel Stenberg [Mon, 12 Mar 2001 12:58:57 +0000 (12:58 +0000)]
Added description of the new test case ranges support

24 years agomade it support test case ranges on the command line, specified as
Daniel Stenberg [Mon, 12 Mar 2001 12:58:30 +0000 (12:58 +0000)]
made it support test case ranges on the command line, specified as
"X to Y", where X is smaller than Y.

24 years agoadjusted to work with the HTTP 1.1-speaking libcurl
Daniel Stenberg [Mon, 12 Mar 2001 12:45:12 +0000 (12:45 +0000)]
adjusted to work with the HTTP 1.1-speaking libcurl

24 years agooutput the protocol data to stderr when verbose is on
Daniel Stenberg [Mon, 12 Mar 2001 12:44:44 +0000 (12:44 +0000)]
output the protocol data to stderr when verbose is on

24 years agoserver problems,
Daniel Stenberg [Mon, 12 Mar 2001 10:18:01 +0000 (10:18 +0000)]
server problems,
libcurl *works* persistant over HTTP proxy!!!!

24 years agomodified Curl_disconnect() so that it unlinks itself from the data struct,
Daniel Stenberg [Mon, 12 Mar 2001 10:13:42 +0000 (10:13 +0000)]
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.

24 years agosplit up the big printf() into several ones to never use strings longer
Daniel Stenberg [Mon, 12 Mar 2001 09:47:23 +0000 (09:47 +0000)]
split up the big printf() into several ones to never use strings longer
than 509 letters (as newer gcc warns on with -Wall)

24 years agobugfix: don't use the connectindex if it is -1
Daniel Stenberg [Mon, 12 Mar 2001 09:44:57 +0000 (09:44 +0000)]
bugfix: don't use the connectindex if it is -1

24 years agoadded persistant connection details
Daniel Stenberg [Mon, 12 Mar 2001 09:44:08 +0000 (09:44 +0000)]
added persistant connection details

24 years agoreplaced I and my with we and us
Daniel Stenberg [Mon, 12 Mar 2001 09:43:43 +0000 (09:43 +0000)]
replaced I and my with we and us

24 years agoupdated
Daniel Stenberg [Mon, 12 Mar 2001 09:42:22 +0000 (09:42 +0000)]
updated

24 years agouse the new name and hostname even though an old connection is reused, since
Daniel Stenberg [Fri, 9 Mar 2001 16:50:08 +0000 (16:50 +0000)]
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

24 years agoremake Host: for each connection and it'll work with proxies too
Daniel Stenberg [Fri, 9 Mar 2001 16:48:18 +0000 (16:48 +0000)]
remake Host: for each connection and it'll work with proxies too

24 years agofor HTTP/1.0 we default to non keep-alive connections, but when we get a
Daniel Stenberg [Fri, 9 Mar 2001 16:02:59 +0000 (16:02 +0000)]
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

24 years agoAdded httpversion to the progress struct, we do read it, we can just as well
Daniel Stenberg [Fri, 9 Mar 2001 15:58:36 +0000 (15:58 +0000)]
Added httpversion to the progress struct, we do read it, we can just as well
store it.

24 years agothe socklen_t check is more involved now, but works on linux at least
Daniel Stenberg [Fri, 9 Mar 2001 15:38:59 +0000 (15:38 +0000)]
the socklen_t check is more involved now, but works on linux at least

24 years agoAdded socklen_t
Daniel Stenberg [Fri, 9 Mar 2001 15:24:33 +0000 (15:24 +0000)]
Added socklen_t

24 years agoadded a check for socklen_t
Daniel Stenberg [Fri, 9 Mar 2001 15:21:00 +0000 (15:21 +0000)]
added a check for socklen_t
removed the tiny/Makefile that was added accidentaly before

24 years agoall comments for the former public "low level" interface have been removed
Daniel Stenberg [Fri, 9 Mar 2001 15:19:42 +0000 (15:19 +0000)]
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

24 years agoremoved handles and states from the main structs
Daniel Stenberg [Fri, 9 Mar 2001 15:18:25 +0000 (15:18 +0000)]
removed handles and states from the main structs
renamed prefixes from curl_ to Curl_
made persistant connections work with http proxies (at least partly)

24 years agocurl_transfer became Curl_perform() to better match the public name and
Daniel Stenberg [Fri, 9 Mar 2001 15:17:09 +0000 (15:17 +0000)]
curl_transfer became Curl_perform() to better match the public name and
use the correct prefix

24 years agoprefix changes curl_ to Curl_
Daniel Stenberg [Fri, 9 Mar 2001 15:16:28 +0000 (15:16 +0000)]
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

24 years ago#include <string.h> removed a warning
Daniel Stenberg [Fri, 9 Mar 2001 15:14:51 +0000 (15:14 +0000)]
#include <string.h> removed a warning

24 years agoremoved curl_read() and curl_write() - they weren't used and the public
Daniel Stenberg [Fri, 9 Mar 2001 15:14:22 +0000 (15:14 +0000)]
removed curl_read() and curl_write() - they weren't used and the public
"low leve" interface is dumped

24 years agouses socklen_t now
Daniel Stenberg [Fri, 9 Mar 2001 15:13:34 +0000 (15:13 +0000)]
uses socklen_t now

24 years agocurl_ prefix modified to Curl_
Daniel Stenberg [Fri, 9 Mar 2001 15:13:11 +0000 (15:13 +0000)]
curl_ prefix modified to Curl_

24 years agoaccept() and getsockname() now use socklen_t types, as that was just added
Daniel Stenberg [Fri, 9 Mar 2001 15:12:22 +0000 (15:12 +0000)]
accept() and getsockname() now use socklen_t types, as that was just added
to configure

24 years agouse unsigned int hex to receive the hex digit in, caused a warning with
Daniel Stenberg [Fri, 9 Mar 2001 15:11:39 +0000 (15:11 +0000)]
use unsigned int hex to receive the hex digit in, caused a warning with
-Wall and a new gcc

24 years agoModified to use Curl_* functions instead of curl_* ones
Daniel Stenberg [Fri, 9 Mar 2001 15:10:58 +0000 (15:10 +0000)]
Modified to use Curl_* functions instead of curl_* ones

24 years agoonly generate maximum 509 characters in each string
Daniel Stenberg [Fri, 9 Mar 2001 13:11:28 +0000 (13:11 +0000)]
only generate maximum 509 characters in each string

24 years agoversion 7.7-beta1 curl-7_7-beta1
Daniel Stenberg [Thu, 8 Mar 2001 12:35:51 +0000 (12:35 +0000)]
version 7.7-beta1

24 years agopersistant adjusts
Daniel Stenberg [Thu, 8 Mar 2001 12:32:03 +0000 (12:32 +0000)]
persistant adjusts

24 years agoHTTP HEAD tests
Daniel Stenberg [Thu, 8 Mar 2001 10:39:36 +0000 (10:39 +0000)]
HTTP HEAD tests

24 years agoreturn from transfer when all headers have been received and nobody is set,
Daniel Stenberg [Thu, 8 Mar 2001 10:32:27 +0000 (10:32 +0000)]
return from transfer when all headers have been received and nobody is set,
as is the case when doing HEAD requests

24 years agoupdated for persistant connections
Daniel Stenberg [Thu, 8 Mar 2001 09:25:09 +0000 (09:25 +0000)]
updated for persistant connections

24 years agomade it split the version number on - too to make 7.7-blabla make a better
Daniel Stenberg [Thu, 8 Mar 2001 09:23:11 +0000 (09:23 +0000)]
made it split the version number on - too to make 7.7-blabla make a better
version number define in the header file

24 years agoadded lots of numbers for the error codes as they're often printed
Daniel Stenberg [Thu, 8 Mar 2001 09:04:43 +0000 (09:04 +0000)]
added lots of numbers for the error codes as they're often printed
and used

24 years agoclarified the 0001-files use a bit, I couldn't understand it myself! :-)
Daniel Stenberg [Thu, 8 Mar 2001 08:33:17 +0000 (08:33 +0000)]
clarified the 0001-files use a bit, I couldn't understand it myself! :-)

24 years agoAdded test #34 - HTTP GET with chunked Transfer-Encoding
Daniel Stenberg [Thu, 8 Mar 2001 08:30:35 +0000 (08:30 +0000)]
Added test #34 - HTTP GET with chunked Transfer-Encoding

24 years ago"Transfer-Encoding: chunked" support added
Daniel Stenberg [Wed, 7 Mar 2001 23:51:41 +0000 (23:51 +0000)]
"Transfer-Encoding: chunked" support added

24 years agoadded the http_chunks files
Daniel Stenberg [Wed, 7 Mar 2001 23:50:00 +0000 (23:50 +0000)]
added the http_chunks files

24 years agochunked transfer encoding support
Daniel Stenberg [Wed, 7 Mar 2001 23:28:22 +0000 (23:28 +0000)]
chunked transfer encoding support

24 years agoconnection timeout is in for 7.7
Daniel Stenberg [Wed, 7 Mar 2001 23:24:23 +0000 (23:24 +0000)]
connection timeout is in for 7.7

24 years agoinitial chunked transfer-encoding support
Daniel Stenberg [Wed, 7 Mar 2001 17:12:12 +0000 (17:12 +0000)]
initial chunked transfer-encoding support

24 years agoremoved compiler warning if HAVE_RAND_STATUS is false
Daniel Stenberg [Wed, 7 Mar 2001 17:08:20 +0000 (17:08 +0000)]
removed compiler warning if HAVE_RAND_STATUS is false

24 years agoAdded persistant connections blurb even if it doesn't really work yet...
Daniel Stenberg [Tue, 6 Mar 2001 14:37:37 +0000 (14:37 +0000)]
Added persistant connections blurb even if it doesn't really work yet...