platform/upstream/curl.git
20 years agoedited slightly, point out our new mailinglist
Daniel Stenberg [Thu, 1 Apr 2004 08:25:23 +0000 (08:25 +0000)]
edited slightly, point out our new mailinglist

20 years agoremind us about cvs tagging when we've built a release archive
Daniel Stenberg [Thu, 1 Apr 2004 08:23:26 +0000 (08:23 +0000)]
remind us about cvs tagging when we've built a release archive

20 years agoremoved my previously attempted fix for ares timeouts, not needed
Daniel Stenberg [Thu, 1 Apr 2004 07:04:58 +0000 (07:04 +0000)]
removed my previously attempted fix for ares timeouts, not needed

20 years agoApplied Joe Halpin's bugfixes to the NI_WITHSCOPEID test program.
Daniel Stenberg [Thu, 1 Apr 2004 06:53:11 +0000 (06:53 +0000)]
Applied Joe Halpin's bugfixes to the NI_WITHSCOPEID test program.

20 years agoDominick Meglio man page fixes
Daniel Stenberg [Thu, 1 Apr 2004 06:10:56 +0000 (06:10 +0000)]
Dominick Meglio man page fixes

20 years agoUse the new HAVE_NI_WITHSCOPEID define instead of merely checking for the
Daniel Stenberg [Wed, 31 Mar 2004 21:33:52 +0000 (21:33 +0000)]
Use the new HAVE_NI_WITHSCOPEID define instead of merely checking for the
existance of NI_WITHSCOPEID since some platforms have that define but still
can't function with it set.

20 years agoissue 30, digest re-negotiate works now!
Daniel Stenberg [Wed, 31 Mar 2004 21:04:26 +0000 (21:04 +0000)]
issue 30, digest re-negotiate works now!

20 years agorecent changes
Daniel Stenberg [Wed, 31 Mar 2004 21:03:55 +0000 (21:03 +0000)]
recent changes

20 years agoupdates and David Byron's spellfix
Daniel Stenberg [Wed, 31 Mar 2004 21:01:20 +0000 (21:01 +0000)]
updates and David Byron's spellfix

20 years agoRoy Shan fixed a case that prevented ares name resolve timeouts to occur.
Daniel Stenberg [Wed, 31 Mar 2004 20:50:01 +0000 (20:50 +0000)]
Roy Shan fixed a case that prevented ares name resolve timeouts to occur.

20 years agowe're working on 7.11.2-CVS right now
Daniel Stenberg [Wed, 31 Mar 2004 20:22:28 +0000 (20:22 +0000)]
we're working on 7.11.2-CVS right now

20 years agoHAVE_NI_WITHSCOPEID spelled right!
Daniel Stenberg [Wed, 31 Mar 2004 20:13:53 +0000 (20:13 +0000)]
HAVE_NI_WITHSCOPEID spelled right!

20 years agoRemove the elapsed time from the most recent select() only.
Daniel Stenberg [Wed, 31 Mar 2004 13:19:41 +0000 (13:19 +0000)]
Remove the elapsed time from the most recent select() only.

20 years agoThe asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE for
Daniel Stenberg [Wed, 31 Mar 2004 12:55:24 +0000 (12:55 +0000)]
The asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE for
the specific time to wait for a resolve. The definition is at the top of
this source file.

20 years agoDirk Manske found out the Curl_wait_for_resolv() timed out too early.
Daniel Stenberg [Wed, 31 Mar 2004 12:45:26 +0000 (12:45 +0000)]
Dirk Manske found out the Curl_wait_for_resolv() timed out too early.

20 years agoadded swsbounce
Daniel Stenberg [Wed, 31 Mar 2004 12:24:08 +0000 (12:24 +0000)]
added swsbounce

20 years agoadded include to fix warning
Daniel Stenberg [Wed, 31 Mar 2004 11:55:56 +0000 (11:55 +0000)]
added include to fix warning

20 years ago* Fixed a memory leak when doing repeated re-negotiations.
Daniel Stenberg [Wed, 31 Mar 2004 11:55:07 +0000 (11:55 +0000)]
* Fixed a memory leak when doing repeated re-negotiations.
* Made the incoming line parser more forgiving to allow "name=contents" pairs
where the contents isn't within double quotes.
* Made the digest code return CURLDIGEST_BADALGO if a requested algorithm
isn't supported by the code.

20 years agotest 153 tests Digest authorization and stale=true stuff
Daniel Stenberg [Wed, 31 Mar 2004 11:51:21 +0000 (11:51 +0000)]
test 153 tests Digest authorization and stale=true stuff

20 years agoAdded "swsbounce" magic: if this keyword is present in a <data> section it
Daniel Stenberg [Wed, 31 Mar 2004 11:50:44 +0000 (11:50 +0000)]
Added "swsbounce" magic: if this keyword is present in a <data> section it
sets the "swsbounce" magic mode. If there follows a request for the SAME
test number and the SAME part number, this mode will make the server bump
the part number internally and thus return a different <dataNUM> section
than it otherwise would.

Test case 153 uses this in case you need an example. It is pretty involved
and hard-to-use, but then the situation is pretty special over all. Enjoy.

20 years agoMoved the NI_WITHSCOPEID magic #ifdef to the top of the file and made sure
Daniel Stenberg [Wed, 31 Mar 2004 10:59:48 +0000 (10:59 +0000)]
Moved the NI_WITHSCOPEID magic #ifdef to the top of the file and made sure
we use the NIFLAGS properly on both places in the code that use getnameinfo().

20 years agoFixed how the user name is extracted from http_proxy environment variable
Daniel Stenberg [Wed, 31 Mar 2004 10:46:06 +0000 (10:46 +0000)]
Fixed how the user name is extracted from http_proxy environment variable
when set.

20 years agoAndrés García fixed a warning in the ioctlsocket() usage.
Daniel Stenberg [Wed, 31 Mar 2004 10:34:53 +0000 (10:34 +0000)]
Andrés García fixed a warning in the ioctlsocket() usage.

20 years agomodified the NI_WITHSCOPEID to use an AF_INET6 socket immediately and
Daniel Stenberg [Wed, 31 Mar 2004 10:31:08 +0000 (10:31 +0000)]
modified the NI_WITHSCOPEID to use an AF_INET6 socket immediately and
added some more debug output to make it easier to detect failure reasons
in the autobuild logs

20 years agoCURLDIGEST_BADALGO is a new return code from the digest code
Daniel Stenberg [Wed, 31 Mar 2004 09:20:27 +0000 (09:20 +0000)]
CURLDIGEST_BADALGO is a new return code from the digest code

20 years agoDominick Meglio fixed a missing comma
Daniel Stenberg [Wed, 31 Mar 2004 06:10:40 +0000 (06:10 +0000)]
Dominick Meglio fixed a missing comma

20 years agoone issue less
Daniel Stenberg [Tue, 30 Mar 2004 15:35:09 +0000 (15:35 +0000)]
one issue less

20 years agotypecast setsockopt()'s 4th argument to void * to make compilers complain
Daniel Stenberg [Tue, 30 Mar 2004 13:05:45 +0000 (13:05 +0000)]
typecast setsockopt()'s 4th argument to void * to make compilers complain
less

20 years agoadjusted to the new dns cache function to hide more hostip internals
Daniel Stenberg [Tue, 30 Mar 2004 13:02:31 +0000 (13:02 +0000)]
adjusted to the new dns cache function to hide more hostip internals

20 years agoLots of comments added an clarified. Added timeout for the ares version
Daniel Stenberg [Tue, 30 Mar 2004 13:02:07 +0000 (13:02 +0000)]
Lots of comments added an clarified. Added timeout for the ares version
of Curl_is_resolved() to address Roy Shan's reported problem.

20 years agoadded stale boolean to the digest struct
Daniel Stenberg [Tue, 30 Mar 2004 13:00:53 +0000 (13:00 +0000)]
added stale boolean to the digest struct

20 years agofirst attempt to support stale=true
Daniel Stenberg [Tue, 30 Mar 2004 13:00:32 +0000 (13:00 +0000)]
first attempt to support stale=true

20 years agoAdded CURL_CHECK_NI_WITHSCOPEID that checks if NI_WITHSCOPEID exists and
Daniel Stenberg [Tue, 30 Mar 2004 10:35:54 +0000 (10:35 +0000)]
Added CURL_CHECK_NI_WITHSCOPEID that checks if NI_WITHSCOPEID exists and
works. No code actually uses the HAVE_NI_WITHSCOPEID (that a positive test
results in), but this is still only for testing purposes.

20 years agoDominick Meglio's new ares_expand_string() function
Daniel Stenberg [Tue, 30 Mar 2004 09:06:42 +0000 (09:06 +0000)]
Dominick Meglio's new ares_expand_string() function

20 years agowhen checking the automake version, cut off trailing "-p[whatever]" from the
Daniel Stenberg [Tue, 30 Mar 2004 08:28:39 +0000 (08:28 +0000)]
when checking the automake version, cut off trailing "-p[whatever]" from the
version string before doing the version number checks.

20 years agoif 0'ed out a code section that uses __FUNCTION__ etc, used for debugging
Daniel Stenberg [Tue, 30 Mar 2004 08:21:09 +0000 (08:21 +0000)]
if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging
the new "fail with auth" code

20 years agoinit the dns pointer to NULL for clarity
Daniel Stenberg [Tue, 30 Mar 2004 08:14:37 +0000 (08:14 +0000)]
init the dns pointer to NULL for clarity

20 years agoadded more comments for what the functions return
Daniel Stenberg [Tue, 30 Mar 2004 08:11:54 +0000 (08:11 +0000)]
added more comments for what the functions return

20 years agomention the fact that you can append a new CA cert to the existing bundle too
Daniel Stenberg [Tue, 30 Mar 2004 06:46:36 +0000 (06:46 +0000)]
mention the fact that you can append a new CA cert to the existing bundle too

20 years agoDavid Byron's patch was appplied to make CURLOPT_FAILONERROR work nicely
Daniel Stenberg [Tue, 30 Mar 2004 06:42:12 +0000 (06:42 +0000)]
David Byron's patch was appplied to make CURLOPT_FAILONERROR work nicely
even with authentcations such as NTLM or Digest enabled. Test cases 150, 151
and 152 were added to verify the functionality.

20 years agoDavid Byron's new test cases for the --fail and auth stuff.
Daniel Stenberg [Tue, 30 Mar 2004 06:41:33 +0000 (06:41 +0000)]
David Byron's new test cases for the --fail and auth stuff.

20 years agoDavid Byron made CURLOPT_FAILONERROR work with authentications such as NTLM
Daniel Stenberg [Tue, 30 Mar 2004 06:40:01 +0000 (06:40 +0000)]
David Byron made CURLOPT_FAILONERROR work with authentications such as NTLM
or Digest.

20 years ago'authdone' was added to the sessionhandle and thus was removed from the
Daniel Stenberg [Tue, 30 Mar 2004 06:39:24 +0000 (06:39 +0000)]
'authdone' was added to the sessionhandle and thus was removed from the
argument to the NTLM function(s)

20 years agoDavid Byron added 'authdone' to the SessionHandle.
Daniel Stenberg [Tue, 30 Mar 2004 06:38:52 +0000 (06:38 +0000)]
David Byron added 'authdone' to the SessionHandle.

20 years agothese are now in the packages/vms dir
Daniel Stenberg [Mon, 29 Mar 2004 22:45:14 +0000 (22:45 +0000)]
these are now in the packages/vms dir

20 years agoThe select() timeout is better not static since some implementation actually
Daniel Stenberg [Mon, 29 Mar 2004 21:29:24 +0000 (21:29 +0000)]
The select() timeout is better not static since some implementation actually
might change it. I don't *think* it does it when the timeout is 0,0 but it
is better to be sure...

20 years agoissue 24 is fixed by making sure the time fields use a static width
Daniel Stenberg [Mon, 29 Mar 2004 13:46:58 +0000 (13:46 +0000)]
issue 24 is fixed by making sure the time fields use a static width

20 years agoseveral noticable recent changes
Daniel Stenberg [Mon, 29 Mar 2004 13:46:16 +0000 (13:46 +0000)]
several noticable recent changes

20 years agochanges changes changes
Daniel Stenberg [Mon, 29 Mar 2004 13:45:53 +0000 (13:45 +0000)]
changes changes changes

20 years agoAll test targets now run 'make all' before they prcoeed with the actual
Daniel Stenberg [Mon, 29 Mar 2004 12:38:41 +0000 (12:38 +0000)]
All test targets now run 'make all' before they prcoeed with the actual
testing so that all test files are build first properly. David Byron reported.

20 years agoGisle Vanem's djgpp/MS-DOS updates
Daniel Stenberg [Mon, 29 Mar 2004 12:29:25 +0000 (12:29 +0000)]
Gisle Vanem's djgpp/MS-DOS updates

20 years agofix to figure out the "real" windows path when built and run with mingw
Daniel Stenberg [Mon, 29 Mar 2004 09:26:31 +0000 (09:26 +0000)]
fix to figure out the "real" windows path when built and run with mingw
Andrés García helped out!

20 years agore-indented to use curl-standard source formatting
Daniel Stenberg [Mon, 29 Mar 2004 07:25:59 +0000 (07:25 +0000)]
re-indented to use curl-standard source formatting

20 years agonetinet/tcp.h may require netinet/in.h to be include before
Daniel Stenberg [Mon, 29 Mar 2004 06:22:57 +0000 (06:22 +0000)]
netinet/tcp.h may require netinet/in.h to be include before

20 years agouse the correct struct
Daniel Stenberg [Sun, 28 Mar 2004 21:41:10 +0000 (21:41 +0000)]
use the correct struct

20 years agoTor fixed a left-over from the ip argument to setnodelay
Daniel Stenberg [Sat, 27 Mar 2004 11:15:50 +0000 (11:15 +0000)]
Tor fixed a left-over from the ip argument to setnodelay

20 years agoGisle Vanem:
Daniel Stenberg [Fri, 26 Mar 2004 13:47:46 +0000 (13:47 +0000)]
Gisle Vanem:

A patch to bypass MS' sillyness with regard to IPv6 and getaddrinfo().

The CURLDEBUG part is to avoid redefinition warning caused by memdebug.h. If
ENABLE_IPV6 isn't enabled, it doesn't matter since we never call
getaddrinfo(). Allthough we could to support weird protocols like SOCK_RDM
that Win-2K/XP has.

20 years agosome more password blurb
Daniel Stenberg [Fri, 26 Mar 2004 13:20:28 +0000 (13:20 +0000)]
some more password blurb

20 years agocheck for netinet/tcp.h precense before actually including it
Daniel Stenberg [Fri, 26 Mar 2004 07:10:15 +0000 (07:10 +0000)]
check for netinet/tcp.h precense before actually including it

20 years agoremoved the ip number from the notcpdelay function
Daniel Stenberg [Fri, 26 Mar 2004 07:03:30 +0000 (07:03 +0000)]
removed the ip number from the notcpdelay function

20 years agoget the version number from the new curlver.h header file
Daniel Stenberg [Thu, 25 Mar 2004 16:03:41 +0000 (16:03 +0000)]
get the version number from the new curlver.h header file

20 years agolocaltime and gmtime are not thread-safe on newer AIXes either so we force
Daniel Stenberg [Thu, 25 Mar 2004 15:48:54 +0000 (15:48 +0000)]
localtime and gmtime are not thread-safe on newer AIXes either so we force
a check for there *_r-versions too

20 years agoforce recent AIX versions to check for strerror_r
Daniel Stenberg [Thu, 25 Mar 2004 15:10:01 +0000 (15:10 +0000)]
force recent AIX versions to check for strerror_r

20 years agoonly output one line about the nodelay even if it fails
Daniel Stenberg [Thu, 25 Mar 2004 14:01:01 +0000 (14:01 +0000)]
only output one line about the nodelay even if it fails

20 years agowin32 doesn't need and even doesn't build if we extern declare sys_nerr
Daniel Stenberg [Thu, 25 Mar 2004 13:43:19 +0000 (13:43 +0000)]
win32 doesn't need and even doesn't build if we extern declare sys_nerr

20 years agoinclude the strerror.h file without curl_ prefix
Daniel Stenberg [Thu, 25 Mar 2004 13:42:23 +0000 (13:42 +0000)]
include the strerror.h file without curl_ prefix

20 years agostrerror without prefix
Daniel Stenberg [Thu, 25 Mar 2004 13:40:57 +0000 (13:40 +0000)]
strerror without prefix

20 years agocut off 'curl_' from the strerror file names
Daniel Stenberg [Thu, 25 Mar 2004 13:40:24 +0000 (13:40 +0000)]
cut off 'curl_' from the strerror file names

20 years agotcp-nodelay patch by Joe Halpin
Daniel Stenberg [Thu, 25 Mar 2004 13:37:18 +0000 (13:37 +0000)]
tcp-nodelay patch by Joe Halpin

20 years agoso there are at least two different strerror_r() versions and our brand
Daniel Stenberg [Thu, 25 Mar 2004 12:45:01 +0000 (12:45 +0000)]
so there are at least two different strerror_r() versions and our brand
new configure script detects them and now this code acts according to what
API that was detected

20 years agoTor Arntsen fixed how this is invoked
Daniel Stenberg [Thu, 25 Mar 2004 12:16:42 +0000 (12:16 +0000)]
Tor Arntsen fixed how this is invoked

20 years agostrerror_r() detection changes:
Daniel Stenberg [Thu, 25 Mar 2004 12:15:00 +0000 (12:15 +0000)]
strerror_r() detection changes:
1. Try with _THREAD_SAFE instead of _REENTRANT, as AIX seems to require it
   and if _REENTRANT is required we should already have it set since one of
   the previous tests.
2. Added API-detection for what kind of strerror_r() that is provided. The
   POSIX style or the glibc style.

Tor Arntsen provided the necessary feedback these changes are based upon.

20 years agodetect daily snapshots using the new path for this test
Daniel Stenberg [Thu, 25 Mar 2004 11:39:29 +0000 (11:39 +0000)]
detect daily snapshots using the new path for this test

20 years agomake clean now removes *dist files too that might be leftovers from
Daniel Stenberg [Thu, 25 Mar 2004 11:34:35 +0000 (11:34 +0000)]
make clean now removes *dist files too that might be leftovers from
'maketgz'

20 years agoinvoke this script via env, as it is more likely to exist at a fixed path
Daniel Stenberg [Thu, 25 Mar 2004 08:22:03 +0000 (08:22 +0000)]
invoke this script via env, as it is more likely to exist at a fixed path
while perl often is installed in /usr/local/bin or elsewhere

20 years agoadded curl_strerror to the build
Daniel Stenberg [Thu, 25 Mar 2004 07:53:37 +0000 (07:53 +0000)]
added curl_strerror to the build

20 years agoextern declare the sys_nerr variable. Required on Solaris at least.
Daniel Stenberg [Thu, 25 Mar 2004 07:52:11 +0000 (07:52 +0000)]
extern declare the sys_nerr variable. Required on Solaris at least.

20 years agoAlways include setup.h as the first header file.
Daniel Stenberg [Thu, 25 Mar 2004 07:33:11 +0000 (07:33 +0000)]
Always include setup.h as the first header file.
Added a more verbose comment about what strerror_r() can set errno to in
case of failure.
This file still doesn't build on Solaris due to a missing 'sys_nerr' symbol.

20 years agoAdded protos for the upcoming curl_*_strerror() functions
Daniel Stenberg [Wed, 24 Mar 2004 22:53:42 +0000 (22:53 +0000)]
Added protos for the upcoming curl_*_strerror() functions

20 years agomissed the new header file
Daniel Stenberg [Wed, 24 Mar 2004 22:46:02 +0000 (22:46 +0000)]
missed the new header file

20 years agoGisle Vanem's fix to replace the bad use of strerror(). This introduces
Daniel Stenberg [Wed, 24 Mar 2004 22:45:37 +0000 (22:45 +0000)]
Gisle Vanem's fix to replace the bad use of strerror(). This introduces
Curl_strerror() that attempts to be thread-safe _and_ works on Windows too!

20 years agonew header file - for Curl_strerror()
Daniel Stenberg [Wed, 24 Mar 2004 22:43:09 +0000 (22:43 +0000)]
new header file - for Curl_strerror()

20 years agobetter comments, added some more variable types we use in the font-lock
Daniel Stenberg [Wed, 24 Mar 2004 22:24:03 +0000 (22:24 +0000)]
better comments, added some more variable types we use in the font-lock

20 years agoTor Arntsen's major ispell patch
Daniel Stenberg [Wed, 24 Mar 2004 21:40:45 +0000 (21:40 +0000)]
Tor Arntsen's major ispell patch

20 years agoTor Arntsen's mkdir-fix to make this run with perl 5.0005
Daniel Stenberg [Wed, 24 Mar 2004 21:28:31 +0000 (21:28 +0000)]
Tor Arntsen's mkdir-fix to make this run with perl 5.0005

20 years agoAvoid doing chdir .., as it breaks the ability to use symlinks properly.
Daniel Stenberg [Wed, 24 Mar 2004 10:52:21 +0000 (10:52 +0000)]
Avoid doing chdir .., as it breaks the ability to use symlinks properly.
chdir to absolute directory names instead. (this flaw exists in the shell
version too)

20 years agoadded check for strerror_r()
Daniel Stenberg [Wed, 24 Mar 2004 08:45:58 +0000 (08:45 +0000)]
added check for strerror_r()

20 years agoinclude curl/curlver.h instead since this only needs the version defines
Daniel Stenberg [Wed, 24 Mar 2004 07:27:58 +0000 (07:27 +0000)]
include curl/curlver.h instead since this only needs the version defines

20 years agoerror messages and new test script
Daniel Stenberg [Tue, 23 Mar 2004 16:12:55 +0000 (16:12 +0000)]
error messages and new test script

20 years agowe are progressing
Daniel Stenberg [Tue, 23 Mar 2004 16:12:37 +0000 (16:12 +0000)]
we are progressing

20 years agodistribute testcurl.pl too starting now
Daniel Stenberg [Tue, 23 Mar 2004 16:11:01 +0000 (16:11 +0000)]
distribute testcurl.pl too starting now

20 years agoGreg Hewgill's version of testcurl.sh rewritten in perl for greater
Daniel Stenberg [Tue, 23 Mar 2004 16:07:02 +0000 (16:07 +0000)]
Greg Hewgill's version of testcurl.sh rewritten in perl for greater
portability. I put it in this directory instead of the root since I think
perhaps it makes more sense.

20 years agokeep current_speed as an curl_off_t for better precision at higher speeds
Daniel Stenberg [Tue, 23 Mar 2004 16:01:31 +0000 (16:01 +0000)]
keep current_speed as an curl_off_t for better precision at higher speeds
if large file support is available

20 years agoswitch() on the right variable!
Daniel Stenberg [Tue, 23 Mar 2004 15:48:27 +0000 (15:48 +0000)]
switch() on the right variable!

20 years agocurl_strequal() returns int, keep return variables in an int
Daniel Stenberg [Tue, 23 Mar 2004 15:30:12 +0000 (15:30 +0000)]
curl_strequal() returns int, keep return variables in an int

20 years agomake the variables that hold the result of strlen() size_t
Daniel Stenberg [Tue, 23 Mar 2004 15:28:31 +0000 (15:28 +0000)]
make the variables that hold the result of strlen() size_t

20 years agostricter variable type usage
Daniel Stenberg [Tue, 23 Mar 2004 15:25:54 +0000 (15:25 +0000)]
stricter variable type usage

20 years agovariable type usage cleanup to please picky compilers
Daniel Stenberg [Tue, 23 Mar 2004 15:20:57 +0000 (15:20 +0000)]
variable type usage cleanup to please picky compilers

20 years agoget strlen() results in a size_t, delete 'register'
Daniel Stenberg [Tue, 23 Mar 2004 15:14:57 +0000 (15:14 +0000)]
get strlen() results in a size_t, delete 'register'

20 years agomade time2str() use longs internally instead to prevent compiler warnings
Daniel Stenberg [Tue, 23 Mar 2004 15:06:14 +0000 (15:06 +0000)]
made time2str() use longs internally instead to prevent compiler warnings
when converting to ints