platform/upstream/curl.git
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

23 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

23 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

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

23 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

23 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

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

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

23 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

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

23 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

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

23 years agocleaned up for the 7.7 fixes
Daniel Stenberg [Tue, 6 Mar 2001 12:50:42 +0000 (12:50 +0000)]
cleaned up for the 7.7 fixes

23 years agonew seeding stuff as mentioned by Albert Chin
Daniel Stenberg [Tue, 6 Mar 2001 00:04:58 +0000 (00:04 +0000)]
new seeding stuff as mentioned by Albert Chin

23 years agoAdded a persistant connection example
Daniel Stenberg [Mon, 5 Mar 2001 16:56:10 +0000 (16:56 +0000)]
Added a persistant connection example

23 years agoupdated to libcurl 7.7 conditions
Daniel Stenberg [Mon, 5 Mar 2001 15:51:34 +0000 (15:51 +0000)]
updated to libcurl 7.7 conditions

23 years agomucho updated with new 7.7 concepts
Daniel Stenberg [Mon, 5 Mar 2001 15:38:06 +0000 (15:38 +0000)]
mucho updated with new 7.7 concepts

23 years agoremoved an incorrect comment
Daniel Stenberg [Mon, 5 Mar 2001 14:52:23 +0000 (14:52 +0000)]
removed an incorrect comment

23 years agoall test cases run OK now (again)
Daniel Stenberg [Mon, 5 Mar 2001 14:13:15 +0000 (14:13 +0000)]
all test cases run OK now (again)

23 years agomore details on debugging with the test suite
Daniel Stenberg [Mon, 5 Mar 2001 14:08:22 +0000 (14:08 +0000)]
more details on debugging with the test suite

23 years agoshow the ftp server invoke line when -d is used
Daniel Stenberg [Mon, 5 Mar 2001 14:03:48 +0000 (14:03 +0000)]
show the ftp server invoke line when -d is used

23 years agotalks more on verbose
Daniel Stenberg [Mon, 5 Mar 2001 14:03:20 +0000 (14:03 +0000)]
talks more on verbose

23 years agofree the struct on done
Daniel Stenberg [Mon, 5 Mar 2001 14:01:13 +0000 (14:01 +0000)]
free the struct on done

23 years agotelnet without any static variables
Daniel Stenberg [Mon, 5 Mar 2001 13:59:43 +0000 (13:59 +0000)]
telnet without any static variables

23 years agoset download size properly for HTTP downloads
Daniel Stenberg [Mon, 5 Mar 2001 13:40:31 +0000 (13:40 +0000)]
set download size properly for HTTP downloads

23 years agoenable persistant connections by default
Daniel Stenberg [Mon, 5 Mar 2001 13:40:08 +0000 (13:40 +0000)]
enable persistant connections by default

23 years agoremade FILE:// support to look more as the other protocols
Daniel Stenberg [Mon, 5 Mar 2001 13:39:01 +0000 (13:39 +0000)]
remade FILE:// support to look more as the other protocols

23 years agoruntests -g explained
Daniel Stenberg [Sun, 4 Mar 2001 18:11:25 +0000 (18:11 +0000)]
runtests -g explained

23 years agopersistant support protocol updates
Daniel Stenberg [Sun, 4 Mar 2001 18:07:13 +0000 (18:07 +0000)]
persistant support protocol updates

23 years ago7.7 alpha 2 commit
Daniel Stenberg [Sun, 4 Mar 2001 16:34:20 +0000 (16:34 +0000)]
7.7 alpha 2 commit

23 years agoAdded include of easy.h to enable libcurl-using programs to *only* have to
Daniel Stenberg [Sun, 4 Mar 2001 15:32:44 +0000 (15:32 +0000)]
Added include of easy.h to enable libcurl-using programs to *only* have to
include <curl/curl.h>

23 years agoCurl_http() could crash on connection re-use
Daniel Stenberg [Sun, 4 Mar 2001 15:25:54 +0000 (15:25 +0000)]
Curl_http() could crash on connection re-use

23 years agoipv6 fix for the 'port' no longer in urldata
Daniel Stenberg [Sat, 3 Mar 2001 17:50:01 +0000 (17:50 +0000)]
ipv6 fix for the 'port' no longer in urldata

23 years agofixed for persistant stuff
Daniel Stenberg [Sat, 3 Mar 2001 16:28:59 +0000 (16:28 +0000)]
fixed for persistant stuff

23 years agolatest
Daniel Stenberg [Fri, 2 Mar 2001 15:38:06 +0000 (15:38 +0000)]
latest

23 years agoremade the port number stuff so that following locations work and doing
Daniel Stenberg [Fri, 2 Mar 2001 15:34:15 +0000 (15:34 +0000)]
remade the port number stuff so that following locations work and doing
intermixed HTTP and FTP persistant connections also work!

23 years agoAdded the disconnect proto
Daniel Stenberg [Fri, 2 Mar 2001 07:44:22 +0000 (07:44 +0000)]
Added the disconnect proto

23 years agoremoved the slist -functions from here
Daniel Stenberg [Fri, 2 Mar 2001 07:44:05 +0000 (07:44 +0000)]
removed the slist -functions from here
added the Curl_ftp_disconnect function for FTP-specific disconnects

23 years agoimproved connections
Daniel Stenberg [Fri, 2 Mar 2001 07:43:20 +0000 (07:43 +0000)]
improved connections

23 years agoextending connectdata
Daniel Stenberg [Fri, 2 Mar 2001 07:42:35 +0000 (07:42 +0000)]
extending connectdata

23 years agomoved the slist-functions here from FTP since they're more generic than simply
Daniel Stenberg [Fri, 2 Mar 2001 07:42:11 +0000 (07:42 +0000)]
moved the slist-functions here from FTP since they're more generic than simply
for FTP-stuff

23 years agostrdup() takes a const char * now
Daniel Stenberg [Fri, 2 Mar 2001 07:41:40 +0000 (07:41 +0000)]
strdup() takes a const char * now

23 years agocleanup better when connects fail
Daniel Stenberg [Wed, 28 Feb 2001 14:03:46 +0000 (14:03 +0000)]
cleanup better when connects fail

23 years agoadded some infof() calls for persistant info
Daniel Stenberg [Thu, 22 Feb 2001 23:51:17 +0000 (23:51 +0000)]
added some infof() calls for persistant info

23 years agowe only allocate the HTTP struct if we need to
Daniel Stenberg [Thu, 22 Feb 2001 23:41:15 +0000 (23:41 +0000)]
we only allocate the HTTP struct if we need to

23 years agoNow persistant connection download works thanks to the Content-Length taken
Daniel Stenberg [Thu, 22 Feb 2001 23:32:41 +0000 (23:32 +0000)]
Now persistant connection download works thanks to the Content-Length taken
into account

23 years agomoved the dynamicly set pointers to the connectdata struct
Daniel Stenberg [Thu, 22 Feb 2001 23:32:02 +0000 (23:32 +0000)]
moved the dynamicly set pointers to the connectdata struct

23 years agoDouglas R. Horner's corrections applied
Daniel Stenberg [Thu, 22 Feb 2001 22:33:49 +0000 (22:33 +0000)]
Douglas R. Horner's corrections applied

23 years agoIPv6-adjustments
Daniel Stenberg [Wed, 21 Feb 2001 17:15:09 +0000 (17:15 +0000)]
IPv6-adjustments

23 years agocorrected memory leaks when re-using connections
Daniel Stenberg [Tue, 20 Feb 2001 17:46:35 +0000 (17:46 +0000)]
corrected memory leaks when re-using connections

23 years agomultiple connection support initial commit
Daniel Stenberg [Tue, 20 Feb 2001 17:35:51 +0000 (17:35 +0000)]
multiple connection support initial commit

23 years agobugfix
Daniel Stenberg [Tue, 20 Feb 2001 13:58:56 +0000 (13:58 +0000)]
bugfix

23 years ago-g runs the specified test(s) with gdb!
Daniel Stenberg [Tue, 20 Feb 2001 13:58:39 +0000 (13:58 +0000)]
-g runs the specified test(s) with gdb!

23 years agoremoved the #ifdef
Daniel Stenberg [Tue, 20 Feb 2001 13:57:50 +0000 (13:57 +0000)]
removed the #ifdef

23 years agowin32sockets.c is now added with winsock init/cleanup example functions
Daniel Stenberg [Tue, 20 Feb 2001 13:56:38 +0000 (13:56 +0000)]
win32sockets.c is now added with winsock init/cleanup example functions

23 years agoAdded three tiny PHP examples
Daniel Stenberg [Mon, 19 Feb 2001 13:39:21 +0000 (13:39 +0000)]
Added three tiny PHP examples

23 years agoblurb about different languages and environments added
Daniel Stenberg [Mon, 19 Feb 2001 13:38:29 +0000 (13:38 +0000)]
blurb about different languages and environments added

23 years agojust a few PHP/curl examples
Daniel Stenberg [Mon, 19 Feb 2001 13:38:05 +0000 (13:38 +0000)]
just a few PHP/curl examples

23 years agoadded two VC++ files for project stuff
Daniel Stenberg [Mon, 19 Feb 2001 09:29:40 +0000 (09:29 +0000)]
added two VC++ files for project stuff

23 years agoMade CURLOPT_POST no longer necessary when CURLOPT_POSTFIELDS is used
Daniel Stenberg [Mon, 19 Feb 2001 09:29:19 +0000 (09:29 +0000)]
Made CURLOPT_POST no longer necessary when CURLOPT_POSTFIELDS is used

23 years agoMoved a bunch of prototypes from curl.h here, they're no longer public and
Daniel Stenberg [Mon, 19 Feb 2001 09:28:10 +0000 (09:28 +0000)]
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