platform/upstream/curl.git
23 years agoCurl_tvdiff() now returns a millisecond diff, no double like before
Daniel Stenberg [Fri, 12 Oct 2001 12:32:20 +0000 (12:32 +0000)]
Curl_tvdiff() now returns a millisecond diff, no double like before

23 years agoprogress meter fixes
Daniel Stenberg [Fri, 12 Oct 2001 12:31:43 +0000 (12:31 +0000)]
progress meter fixes

23 years agoextensively commented source code, parts refreshened, the "current speed" is
Daniel Stenberg [Fri, 12 Oct 2001 12:31:06 +0000 (12:31 +0000)]
extensively commented source code, parts refreshened, the "current speed" is
now more accurate since it is based on actual spent time without the
assumptions from before

23 years agobetter check for absolute URL redirects, adjusted to new Curl_tvdiff() proto
Daniel Stenberg [Fri, 12 Oct 2001 12:30:06 +0000 (12:30 +0000)]
better check for absolute URL redirects, adjusted to new Curl_tvdiff() proto

23 years agolooks nicer and is better compatible with older vim versions
Sterling Hughes [Thu, 11 Oct 2001 09:32:19 +0000 (09:32 +0000)]
looks nicer and is better compatible with older vim versions

23 years agocleanup on language, content and facts
Daniel Stenberg [Thu, 11 Oct 2001 09:07:46 +0000 (09:07 +0000)]
cleanup on language, content and facts

23 years agogetservbyname is not used by libcurl, don't check for it
Daniel Stenberg [Thu, 11 Oct 2001 07:41:52 +0000 (07:41 +0000)]
getservbyname is not used by libcurl, don't check for it

23 years agoremoved WRITEINFO from here, it's not been supported since 7.4...
Daniel Stenberg [Thu, 11 Oct 2001 06:24:27 +0000 (06:24 +0000)]
removed WRITEINFO from here, it's not been supported since 7.4...

23 years agocheckserver() bugged, Kevin Roth detected and fixed
Daniel Stenberg [Wed, 10 Oct 2001 22:04:42 +0000 (22:04 +0000)]
checkserver() bugged, Kevin Roth detected and fixed

23 years agoKevin Roth's fixes to make tests work on cygwin
Daniel Stenberg [Wed, 10 Oct 2001 21:59:10 +0000 (21:59 +0000)]
Kevin Roth's fixes to make tests work on cygwin

23 years agoCURLOPT_WRITEFUNCTION description corrected
Daniel Stenberg [Wed, 10 Oct 2001 13:11:24 +0000 (13:11 +0000)]
CURLOPT_WRITEFUNCTION description corrected

23 years agocookiejar now enables the cookie engine
Daniel Stenberg [Wed, 10 Oct 2001 12:48:32 +0000 (12:48 +0000)]
cookiejar now enables the cookie engine

23 years agohm
Daniel Stenberg [Tue, 9 Oct 2001 12:04:33 +0000 (12:04 +0000)]
hm

23 years agoadded chunked encoding tests
Daniel Stenberg [Tue, 9 Oct 2001 12:03:52 +0000 (12:03 +0000)]
added chunked encoding tests

23 years agoadded test 47 - enforced http 1.0 request
Daniel Stenberg [Tue, 9 Oct 2001 11:34:49 +0000 (11:34 +0000)]
added test 47 - enforced http 1.0 request

23 years agoresolve problem fixed, memory leak with ipv6 gone, configure improved,
Daniel Stenberg [Tue, 9 Oct 2001 06:57:17 +0000 (06:57 +0000)]
resolve problem fixed, memory leak with ipv6 gone, configure improved,
MSVC++ project files fixed, connecthost() compiler errors, ignore SIGPIPE,
support CURLOPT_HTTP_VERSION etc...

23 years agoNew: CURLOPT_HTTP_VERSION
Daniel Stenberg [Tue, 9 Oct 2001 06:53:53 +0000 (06:53 +0000)]
New: CURLOPT_HTTP_VERSION
Renamed: the TimeCond type to curl_TimeCond

23 years agoAdded -0/--http1.0 to enforce HTTP 1.0 requests
Daniel Stenberg [Tue, 9 Oct 2001 06:53:11 +0000 (06:53 +0000)]
Added -0/--http1.0 to enforce HTTP 1.0 requests

23 years agoadded the option CURLOPT_HTTP_VERSION that can specify which HTTP version
Daniel Stenberg [Tue, 9 Oct 2001 06:52:37 +0000 (06:52 +0000)]
added the option CURLOPT_HTTP_VERSION that can specify which HTTP version
libcurl should use in its request

23 years agoignore SIGPIPE, as that can be actually get sent when we write to a socket
Daniel Stenberg [Tue, 9 Oct 2001 06:23:26 +0000 (06:23 +0000)]
ignore SIGPIPE, as that can be actually get sent when we write to a socket

23 years agoupdated the cookiejar comment
Daniel Stenberg [Mon, 8 Oct 2001 11:07:06 +0000 (11:07 +0000)]
updated the cookiejar comment

23 years agohm, an unknown error from bind() when binding the outgoing socket would
Daniel Stenberg [Mon, 8 Oct 2001 06:56:00 +0000 (06:56 +0000)]
hm, an unknown error from bind() when binding the outgoing socket would
failf("%d") without the error as argument... it would always make a weird
number get output

23 years agocorrected cookie-jar comment
Daniel Stenberg [Mon, 8 Oct 2001 06:43:22 +0000 (06:43 +0000)]
corrected cookie-jar comment

23 years agousing a HTTP proxy will disable some protocol-specific features that non-
Daniel Stenberg [Fri, 5 Oct 2001 07:30:07 +0000 (07:30 +0000)]
using a HTTP proxy will disable some protocol-specific features that non-
HTTP procotols may allow

23 years agoSM's patch applied, we should not use arguments or variables that have the
Daniel Stenberg [Fri, 5 Oct 2001 06:05:56 +0000 (06:05 +0000)]
SM's patch applied, we should not use arguments or variables that have the
same name as common functions...

23 years agoVC ID project workspace - fixes compile under win32
sm [Fri, 5 Oct 2001 02:30:27 +0000 (02:30 +0000)]
VC ID project workspace - fixes compile under win32

23 years agoVC ID project now uses ws2_32.lib - fixes compile under win32
sm [Fri, 5 Oct 2001 02:29:47 +0000 (02:29 +0000)]
VC ID project now uses ws2_32.lib - fixes compile under win32

23 years agoMakefile.vc6 changed to include connect.c
sm [Fri, 5 Oct 2001 02:27:26 +0000 (02:27 +0000)]
Makefile.vc6 changed to include connect.c

23 years agoAlbert Chin's improved gethostbyname_r() tests
Daniel Stenberg [Thu, 4 Oct 2001 14:05:12 +0000 (14:05 +0000)]
Albert Chin's improved gethostbyname_r() tests

23 years agomade sure the correct pieces of code are compiled on IPv4-only hosts, and
Daniel Stenberg [Thu, 4 Oct 2001 13:36:11 +0000 (13:36 +0000)]
made sure the correct pieces of code are compiled on IPv4-only hosts, and
the pack_hostent() is only compiled if gethostbyname_r() isn't present.

23 years agosupports the new ADDR prefix for getaddrinfo() and freeaddrinfo() tracing
Daniel Stenberg [Thu, 4 Oct 2001 13:25:40 +0000 (13:25 +0000)]
supports the new ADDR prefix for getaddrinfo() and freeaddrinfo() tracing

23 years agogetaddrinfo() cleanups
Daniel Stenberg [Thu, 4 Oct 2001 13:25:12 +0000 (13:25 +0000)]
getaddrinfo() cleanups

23 years agoKeith McGuigan's excellent fix that makes a cloned copy of the hostent struct
Daniel Stenberg [Wed, 3 Oct 2001 21:42:04 +0000 (21:42 +0000)]
Keith McGuigan's excellent fix that makes a cloned copy of the hostent struct
for when gethostbyname() is used so that we have the memory of the struct
allocated. This turns out to be needed if the curl handled is passed between
threads on Windows and possibly other operating systems where we use that
function.

23 years agoNico Baggus' updated for 7.9
Daniel Stenberg [Wed, 3 Oct 2001 21:28:01 +0000 (21:28 +0000)]
Nico Baggus' updated for 7.9

23 years agoBjörn Stenberg reported successfully having built curl on StrongARM Linux
Daniel Stenberg [Wed, 3 Oct 2001 15:08:36 +0000 (15:08 +0000)]
Björn Stenberg reported successfully having built curl on StrongARM Linux

23 years agonon-blocking connects *done*
Daniel Stenberg [Wed, 3 Oct 2001 11:58:12 +0000 (11:58 +0000)]
non-blocking connects *done*

23 years agome fix curl_formadd() again
Daniel Stenberg [Wed, 3 Oct 2001 11:55:09 +0000 (11:55 +0000)]
me fix curl_formadd() again

23 years agohm, I edited away the fine functionality and with this edit test case 9
Daniel Stenberg [Wed, 3 Oct 2001 09:31:16 +0000 (09:31 +0000)]
hm, I edited away the fine functionality and with this edit test case 9
is once again running OK

23 years ago7.9.1 pre-release 1 status
Daniel Stenberg [Wed, 3 Oct 2001 08:16:26 +0000 (08:16 +0000)]
7.9.1 pre-release 1 status

23 years agoThe ARRAY stuff is now added
Daniel Stenberg [Wed, 3 Oct 2001 08:02:17 +0000 (08:02 +0000)]
The ARRAY stuff is now added

23 years agoadded new curl_formadd() stuff
Daniel Stenberg [Wed, 3 Oct 2001 08:01:38 +0000 (08:01 +0000)]
added new curl_formadd() stuff

23 years agoGeorg Huettenegger's fix that makes us no longer use curl_formparse() but
Daniel Stenberg [Wed, 3 Oct 2001 08:00:12 +0000 (08:00 +0000)]
Georg Huettenegger's fix that makes us no longer use curl_formparse() but
instead entirely rely on the curl_formadd() function. The former one is
subject for removal in a future release.

23 years agoGeorg Huettenegger's curl_formadd fixes
Daniel Stenberg [Wed, 3 Oct 2001 07:54:42 +0000 (07:54 +0000)]
Georg Huettenegger's curl_formadd fixes

23 years agothe changes done since the 7.9 release
Daniel Stenberg [Tue, 2 Oct 2001 17:22:23 +0000 (17:22 +0000)]
the changes done since the 7.9 release

23 years agopraise Bjorn Reese for mastering these dusty corners of socket hacking, now
Daniel Stenberg [Tue, 2 Oct 2001 17:18:46 +0000 (17:18 +0000)]
praise Bjorn Reese for mastering these dusty corners of socket hacking, now
we check for the error state before believing we are connected in IPv6
cases

23 years agoadded port number in informational connect message
Daniel Stenberg [Tue, 2 Oct 2001 12:51:15 +0000 (12:51 +0000)]
added port number in informational connect message

23 years agoIPv6 adjustments, connect()ing to bad ports still don't work properly for
Daniel Stenberg [Tue, 2 Oct 2001 11:26:53 +0000 (11:26 +0000)]
IPv6 adjustments, connect()ing to bad ports still don't work properly for
IPv6

23 years agomajor connecting updates
Daniel Stenberg [Tue, 2 Oct 2001 09:40:06 +0000 (09:40 +0000)]
major connecting updates

23 years agopick the correct timeout before the connecthost call
Daniel Stenberg [Mon, 1 Oct 2001 23:25:59 +0000 (23:25 +0000)]
pick the correct timeout before the connecthost call

23 years agofaster bailout on timeouts
Daniel Stenberg [Mon, 1 Oct 2001 23:25:26 +0000 (23:25 +0000)]
faster bailout on timeouts

23 years agoadded comment to the tvdiff
Daniel Stenberg [Mon, 1 Oct 2001 22:50:20 +0000 (22:50 +0000)]
added comment to the tvdiff

23 years agoremoved warning
Daniel Stenberg [Mon, 1 Oct 2001 22:50:03 +0000 (22:50 +0000)]
removed warning

23 years agocorrected for IPv6
Daniel Stenberg [Mon, 1 Oct 2001 22:42:46 +0000 (22:42 +0000)]
corrected for IPv6

23 years agoadded five non-blocking #defines
Daniel Stenberg [Mon, 1 Oct 2001 22:34:08 +0000 (22:34 +0000)]
added five non-blocking #defines

23 years agoconn->hp is now conn->hostaddr
Daniel Stenberg [Mon, 1 Oct 2001 22:32:37 +0000 (22:32 +0000)]
conn->hp is now conn->hostaddr
changed the Curl_connethost() proto again

23 years agosessionhandle->hp => hostaddr
Daniel Stenberg [Mon, 1 Oct 2001 22:31:43 +0000 (22:31 +0000)]
sessionhandle->hp => hostaddr

23 years agorenamed the stupid 'hp' to 'hostaddr' which actually says what it is
Daniel Stenberg [Mon, 1 Oct 2001 22:31:10 +0000 (22:31 +0000)]
renamed the stupid 'hp' to 'hostaddr' which actually says what it is

23 years agoremoved obsoletetd myalarm() calls
Daniel Stenberg [Mon, 1 Oct 2001 11:35:29 +0000 (11:35 +0000)]
removed obsoletetd myalarm() calls

23 years agomoved the myalarm() usage, and now makes sure to switch it off after the
Daniel Stenberg [Mon, 1 Oct 2001 11:27:39 +0000 (11:27 +0000)]
moved the myalarm() usage, and now makes sure to switch it off after the
name resolving, as that should be the *ONLY* section in libcurl that may
take a while in a synchronous call.

23 years agofixed the connecthost proto: added the timeout argument
Daniel Stenberg [Mon, 1 Oct 2001 11:26:21 +0000 (11:26 +0000)]
fixed the connecthost proto: added the timeout argument

23 years agocorrected the #include files
Daniel Stenberg [Mon, 1 Oct 2001 11:25:27 +0000 (11:25 +0000)]
corrected the #include files

23 years agointroduced non-blocking connects
Daniel Stenberg [Mon, 1 Oct 2001 08:59:17 +0000 (08:59 +0000)]
introduced non-blocking connects

23 years agoAdded non-blocking sockets test
Daniel Stenberg [Mon, 1 Oct 2001 08:58:03 +0000 (08:58 +0000)]
Added non-blocking sockets test

23 years agomoved to the java module
Daniel Stenberg [Mon, 1 Oct 2001 07:46:45 +0000 (07:46 +0000)]
moved to the java module

23 years agomoved to the perl module
Daniel Stenberg [Mon, 1 Oct 2001 07:44:12 +0000 (07:44 +0000)]
moved to the perl module

23 years agomoved to separate module
Daniel Stenberg [Mon, 1 Oct 2001 07:40:32 +0000 (07:40 +0000)]
moved to separate module

23 years agofiletime should be -1 if the remote time was unknown as 0 is actually a
Daniel Stenberg [Fri, 28 Sep 2001 11:04:43 +0000 (11:04 +0000)]
filetime should be -1 if the remote time was unknown as 0 is actually a
valid time. we now store the filetime as a long to know for sure it can
hold -1 (there exist some unsigned time_t cases)

23 years agoimproved readability slightly
Daniel Stenberg [Fri, 28 Sep 2001 09:25:59 +0000 (09:25 +0000)]
improved readability slightly

23 years agofixed the missing getftpresponse edits
Daniel Stenberg [Fri, 28 Sep 2001 09:19:35 +0000 (09:19 +0000)]
fixed the missing getftpresponse edits

23 years agoremoved the socket argument from some functions that always passed in the
Daniel Stenberg [Fri, 28 Sep 2001 09:15:19 +0000 (09:15 +0000)]
removed the socket argument from some functions that always passed in the
same socket and it was available from the passed-in struct anyway!

23 years agonow compiles warning-free when IPv6-enabled
Daniel Stenberg [Fri, 28 Sep 2001 09:02:57 +0000 (09:02 +0000)]
now compiles warning-free when IPv6-enabled

23 years agomoved the PORT and PASV code into separate smaller functions for readability
Daniel Stenberg [Fri, 28 Sep 2001 08:58:18 +0000 (08:58 +0000)]
moved the PORT and PASV code into separate smaller functions for readability
renamed all static ^_ftp_* functions to ^ftp_, prefixing with underscore is
not nice

23 years agomore ipv6 cleanups to make smaller functions that are easier to read
Daniel Stenberg [Fri, 28 Sep 2001 07:46:39 +0000 (07:46 +0000)]
more ipv6 cleanups to make smaller functions that are easier to read

23 years agomore transparant support for IPv6 name resolving
Daniel Stenberg [Fri, 28 Sep 2001 07:05:26 +0000 (07:05 +0000)]
more transparant support for IPv6 name resolving

23 years agogenerate bzip2 and zip files too
Daniel Stenberg [Thu, 27 Sep 2001 12:44:17 +0000 (12:44 +0000)]
generate bzip2 and zip files too

23 years agofree cookiejar string
Daniel Stenberg [Wed, 26 Sep 2001 07:12:07 +0000 (07:12 +0000)]
free cookiejar string

23 years agoNow we're setting a default domain for received cookies so that we can
Daniel Stenberg [Wed, 26 Sep 2001 07:08:29 +0000 (07:08 +0000)]
Now we're setting a default domain for received cookies so that we can
properly match those cookies in subsequent requests

23 years agoAdded test 46, cookie jar functionality
Daniel Stenberg [Wed, 26 Sep 2001 07:06:00 +0000 (07:06 +0000)]
Added test 46, cookie jar functionality

23 years agowe can verify files too
Daniel Stenberg [Wed, 26 Sep 2001 07:05:00 +0000 (07:05 +0000)]
we can verify files too

23 years agowinsock 2 fixes
Daniel Stenberg [Tue, 25 Sep 2001 07:55:19 +0000 (07:55 +0000)]
winsock 2 fixes

23 years ago7.9 commit
Daniel Stenberg [Tue, 25 Sep 2001 06:39:18 +0000 (06:39 +0000)]
7.9 commit

23 years agoAdded httpput.c
Daniel Stenberg [Tue, 25 Sep 2001 05:55:56 +0000 (05:55 +0000)]
Added httpput.c

23 years agotwo ipv6 fixes
Daniel Stenberg [Mon, 24 Sep 2001 07:48:31 +0000 (07:48 +0000)]
two ipv6 fixes

23 years agomoved to parent directory
Daniel Stenberg [Mon, 24 Sep 2001 07:48:00 +0000 (07:48 +0000)]
moved to parent directory

23 years agotest 119 proved a memory leak in the FTP parts when IPv6 is enabled and the
Daniel Stenberg [Sun, 23 Sep 2001 12:47:07 +0000 (12:47 +0000)]
test 119 proved a memory leak in the FTP parts when IPv6 is enabled and the
RETR fails, this corrects it.

23 years agoAdjusted to run on ipv6-enabled hosts
Daniel Stenberg [Sun, 23 Sep 2001 12:46:04 +0000 (12:46 +0000)]
Adjusted to run on ipv6-enabled hosts

23 years agoCommit Curl_easy v1.1.8 - constants updated for libcurl 7.9 - tests modularised
Cris Bailiff [Thu, 20 Sep 2001 09:48:52 +0000 (09:48 +0000)]
Commit Curl_easy v1.1.8 - constants updated for libcurl 7.9 - tests modularised

23 years agoredirect and ssl connect fixes
Daniel Stenberg [Wed, 19 Sep 2001 21:57:26 +0000 (21:57 +0000)]
redirect and ssl connect fixes

23 years agoLots of praise and glory to Vojtech Minarik for setting up a test server
Daniel Stenberg [Wed, 19 Sep 2001 21:49:11 +0000 (21:49 +0000)]
Lots of praise and glory to Vojtech Minarik for setting up a test server
and providing me with test-certificates that helped me nail the problem with
curl not discovering with a bad certificate was used.

23 years agohttp put with --crlf requires chunked content encoding
Daniel Stenberg [Wed, 19 Sep 2001 14:49:23 +0000 (14:49 +0000)]
http put with --crlf requires  chunked content encoding

23 years agoThis verifies that bug report #462600 is fixed, a Location: following when
Daniel Stenberg [Tue, 18 Sep 2001 18:41:46 +0000 (18:41 +0000)]
This verifies that bug report #462600 is fixed, a Location: following when
the given URL has no protocol:// part and the Location: redirect contains a
:// section

23 years agofixed bug report #462600, following a Location: when the initial URL didn't
Daniel Stenberg [Tue, 18 Sep 2001 18:33:25 +0000 (18:33 +0000)]
fixed bug report #462600, following a Location: when the initial URL didn't
have a protocol:// part did wrong

23 years agoremoved Curl_http_close()
Daniel Stenberg [Tue, 18 Sep 2001 15:30:59 +0000 (15:30 +0000)]
removed Curl_http_close()

23 years agothe stuff formerly done in Curl_http_close is now done in Curl_close
Daniel Stenberg [Tue, 18 Sep 2001 15:30:38 +0000 (15:30 +0000)]
the stuff formerly done in Curl_http_close is now done in Curl_close

23 years agomodified GetLine(), removed Curl_http_close()
Daniel Stenberg [Tue, 18 Sep 2001 15:29:57 +0000 (15:29 +0000)]
modified GetLine(), removed Curl_http_close()

23 years agomade it respond as a http proxy on CONNECT
Daniel Stenberg [Tue, 18 Sep 2001 15:26:54 +0000 (15:26 +0000)]
made it respond as a http proxy on CONNECT

23 years agoadded two https test cases
Daniel Stenberg [Tue, 18 Sep 2001 15:26:32 +0000 (15:26 +0000)]
added two https test cases

23 years agoHTTPS test case
Daniel Stenberg [Tue, 18 Sep 2001 15:13:40 +0000 (15:13 +0000)]
HTTPS test case

23 years agoLinus Nielsen Feltzing fixed telnet for win32.
Daniel Stenberg [Mon, 17 Sep 2001 22:51:48 +0000 (22:51 +0000)]
Linus Nielsen Feltzing fixed telnet for win32.

23 years agocurl_easy_duphandle is new
Daniel Stenberg [Mon, 17 Sep 2001 22:24:35 +0000 (22:24 +0000)]
curl_easy_duphandle is new