platform/upstream/curl.git
23 years agochecks for a few functions and include files more for the new getpwuid()
Daniel Stenberg [Wed, 14 Mar 2001 16:05:31 +0000 (16:05 +0000)]
checks for a few functions and include files more for the new getpwuid()
stuff in lib/netrc.c

23 years agouses getpwuid() to find user's home dir
Daniel Stenberg [Wed, 14 Mar 2001 16:05:00 +0000 (16:05 +0000)]
uses getpwuid() to find user's home dir

23 years agoadded a missing \
Daniel Stenberg [Wed, 14 Mar 2001 14:35:35 +0000 (14:35 +0000)]
added a missing \

23 years agoalways append the incoming request to the server.input file, it allows
Daniel Stenberg [Wed, 14 Mar 2001 14:26:56 +0000 (14:26 +0000)]
always append the incoming request to the server.input file, it allows
the mainscript to verify a whole series of requests

23 years agoupdated to work with the modified http server
Daniel Stenberg [Wed, 14 Mar 2001 14:26:16 +0000 (14:26 +0000)]
updated to work with the modified http server

23 years agoAdded test case 38
Daniel Stenberg [Wed, 14 Mar 2001 14:25:57 +0000 (14:25 +0000)]
Added test case 38

23 years agoEdin Kadribaic's bug report #408488 forced a rearrange of two struct fields
Daniel Stenberg [Wed, 14 Mar 2001 14:11:11 +0000 (14:11 +0000)]
Edin Kadribaic's bug report #408488 forced a rearrange of two struct fields
from urldata to connectdata, quite correctly.

23 years agoAdded the --egd-file and --random-file options
Daniel Stenberg [Wed, 14 Mar 2001 11:47:55 +0000 (11:47 +0000)]
Added the --egd-file and --random-file options

23 years agocurl 7.7 beta 3
Daniel Stenberg [Wed, 14 Mar 2001 11:25:44 +0000 (11:25 +0000)]
curl 7.7 beta 3

23 years agoremoved the two unnecessary include files
Daniel Stenberg [Wed, 14 Mar 2001 10:27:13 +0000 (10:27 +0000)]
removed the two unnecessary include files

23 years agossluse fixed, various win32 fixes
Daniel Stenberg [Wed, 14 Mar 2001 10:21:52 +0000 (10:21 +0000)]
ssluse fixed, various win32 fixes

23 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

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

23 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

23 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...

23 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.

23 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

23 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

23 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

23 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

23 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.

23 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"

23 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

23 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

23 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

23 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

23 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!

23 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

23 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

23 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

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

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

23 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...

23 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

23 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

23 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

23 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

23 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

23 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

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

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

23 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

23 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)

23 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

23 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

23 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

23 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

23 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

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

23 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]

23 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

23 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

23 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

23 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...

23 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

23 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

23 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

23 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!!!

23 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...

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

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

23 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

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

23 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

23 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

23 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

23 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.

23 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

23 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

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

23 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.

23 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)

23 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

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

23 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

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

23 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

23 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

23 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

23 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.

23 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

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

23 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

23 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

23 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)

23 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

23 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

23 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

23 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

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

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

23 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

23 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

23 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

23 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

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

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

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

23 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

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