platform/upstream/curl.git
22 years agotest case 27 added, to make sure cookie replacing don't leak anything
Daniel Stenberg [Wed, 24 Oct 2001 11:39:48 +0000 (11:39 +0000)]
test case 27 added, to make sure cookie replacing don't leak anything

22 years agonow reports the CORRECT pid on demand
Daniel Stenberg [Wed, 24 Oct 2001 11:39:15 +0000 (11:39 +0000)]
now reports the CORRECT pid on demand

22 years agoT. Bharath found this memory leak. It occurs when we replace an internally
Daniel Stenberg [Wed, 24 Oct 2001 11:36:55 +0000 (11:36 +0000)]
T. Bharath found this memory leak. It occurs when we replace an internally
already existing cookie with a new one.

22 years agopack_hostent() now aligns the data properly on 64bit boundaries to work on
Daniel Stenberg [Tue, 23 Oct 2001 12:11:43 +0000 (12:11 +0000)]
pack_hostent() now aligns the data properly on 64bit boundaries to work on
more CPU architectures

22 years agogrammar grammar!
Daniel Stenberg [Tue, 23 Oct 2001 10:12:28 +0000 (10:12 +0000)]
grammar grammar!

22 years agoadded "3.12 Why do FTP specific features over HTTP proxy fails?"
Daniel Stenberg [Tue, 23 Oct 2001 10:12:00 +0000 (10:12 +0000)]
added "3.12 Why do FTP specific features over HTTP proxy fails?"

22 years agoadded AC_PREREQ(2.50) to prevent autoconf mistakes
Daniel Stenberg [Tue, 23 Oct 2001 07:54:16 +0000 (07:54 +0000)]
added AC_PREREQ(2.50) to prevent autoconf mistakes

22 years agoAn SGI (IRIX) compiler doesn't like indended #-instructions, so they're all
Daniel Stenberg [Mon, 22 Oct 2001 22:15:50 +0000 (22:15 +0000)]
An SGI (IRIX) compiler doesn't like indended #-instructions, so they're all
in column zero now!

22 years agomake sure the connect can't return OK but return a NULL as addr
Daniel Stenberg [Mon, 22 Oct 2001 12:52:25 +0000 (12:52 +0000)]
make sure the connect can't return OK but return a NULL as addr

22 years ago2000 => 2001
Daniel Stenberg [Mon, 22 Oct 2001 06:39:47 +0000 (06:39 +0000)]
2000 => 2001

22 years agorephrased the WRITEFUNCTION description a bit
Daniel Stenberg [Mon, 22 Oct 2001 06:35:19 +0000 (06:35 +0000)]
rephrased the WRITEFUNCTION description a bit

22 years agofailed transfers will now close the connection
Daniel Stenberg [Mon, 22 Oct 2001 06:34:14 +0000 (06:34 +0000)]
failed transfers will now close the connection

22 years agoadded cygwin package makefile
Daniel Stenberg [Mon, 22 Oct 2001 06:32:54 +0000 (06:32 +0000)]
added cygwin package makefile

22 years agoCygwin files
Daniel Stenberg [Mon, 22 Oct 2001 06:27:12 +0000 (06:27 +0000)]
Cygwin files

22 years agoKevin Roth's cygwin fixes
Daniel Stenberg [Mon, 22 Oct 2001 06:26:30 +0000 (06:26 +0000)]
Kevin Roth's cygwin fixes

22 years agoA Kevin Roth patch. -- It's a post 1.4.2 patch that will become part of
Daniel Stenberg [Mon, 22 Oct 2001 06:08:09 +0000 (06:08 +0000)]
A Kevin Roth patch. -- It's a post 1.4.2 patch that will become part of
libtool 1.4.3, and it's required to allow "make install" to function properly
on cygwin.

22 years agonew return code: CURLE_GOT_NOTHING
Daniel Stenberg [Fri, 19 Oct 2001 11:59:04 +0000 (11:59 +0000)]
new return code: CURLE_GOT_NOTHING

22 years agonow counts header size return from server and if nothing is returned from a
Daniel Stenberg [Fri, 19 Oct 2001 11:58:32 +0000 (11:58 +0000)]
now counts header size return from server and if nothing is returned from a
HTTP server we return error

22 years agocurl_easy_duphandle() now properly clones the cookie option
Daniel Stenberg [Fri, 19 Oct 2001 11:57:50 +0000 (11:57 +0000)]
curl_easy_duphandle() now properly clones the cookie option
- patch by T. Bharath

22 years agoadded test 37
Daniel Stenberg [Fri, 19 Oct 2001 11:56:23 +0000 (11:56 +0000)]
added test 37

22 years agoCURLOPT_FAILONERROR now only returns error if the HTTP code is 400 or above
Daniel Stenberg [Fri, 19 Oct 2001 06:27:24 +0000 (06:27 +0000)]
CURLOPT_FAILONERROR now only returns error if the HTTP code is 400 or above
unconditionalliy. Previously, the code check was for >= 300 unless follow-
location was enabled...

22 years agothe malloc debug system only logs data if the logfile FILE * is set, which
Daniel Stenberg [Wed, 17 Oct 2001 12:33:35 +0000 (12:33 +0000)]
the malloc debug system only logs data if the logfile FILE * is set, which
makes it easier to disable debug output when built with debug functions

22 years agocall Curl_done() in Curl_perform() after Transfer() was called, even it it
Daniel Stenberg [Wed, 17 Oct 2001 12:24:51 +0000 (12:24 +0000)]
call Curl_done() in Curl_perform() after Transfer() was called, even it it
returned an error as there might be stuff in there we must free/cleanup.
This fixes the memory leak Yanick Pelletier posted about 16 Oct 2001

22 years agodon't use 'strict' anymore, as it doesn't work good with the cygwin fixes
Daniel Stenberg [Wed, 17 Oct 2001 11:51:02 +0000 (11:51 +0000)]
don't use 'strict' anymore, as it doesn't work good with the cygwin fixes
also, always kill/restart the HTTP server on startup if it is our test server

22 years agoKevin Roth's cygwin adjustment
Daniel Stenberg [Tue, 16 Oct 2001 07:59:43 +0000 (07:59 +0000)]
Kevin Roth's cygwin adjustment

22 years agoadded AC_LIBTOOL_WIN32_DLL for cygwin setup issues
Daniel Stenberg [Tue, 16 Oct 2001 07:58:41 +0000 (07:58 +0000)]
added AC_LIBTOOL_WIN32_DLL for cygwin setup issues

22 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

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

22 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

22 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

22 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

22 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

22 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

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

22 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

22 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

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

22 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

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

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

22 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

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

22 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

22 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

22 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

22 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

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

22 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

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

22 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

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

22 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

22 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

22 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

22 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

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

22 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

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

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

22 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

22 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

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

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

22 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

22 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

22 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

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

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

22 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

22 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

22 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

22 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

22 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

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

22 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

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

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

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

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

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

22 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

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

22 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

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

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

22 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

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

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

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

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

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

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

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

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

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

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

22 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

22 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

22 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

22 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