Daniel Stenberg [Thu, 1 Apr 2004 06:10:56 +0000 (06:10 +0000)]
Dominick Meglio man page fixes
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.
Daniel Stenberg [Wed, 31 Mar 2004 21:04:26 +0000 (21:04 +0000)]
issue 30, digest re-negotiate works now!
Daniel Stenberg [Wed, 31 Mar 2004 21:03:55 +0000 (21:03 +0000)]
recent changes
Daniel Stenberg [Wed, 31 Mar 2004 21:01:20 +0000 (21:01 +0000)]
updates and David Byron's spellfix
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.
Daniel Stenberg [Wed, 31 Mar 2004 20:22:28 +0000 (20:22 +0000)]
we're working on 7.11.2-CVS right now
Daniel Stenberg [Wed, 31 Mar 2004 20:13:53 +0000 (20:13 +0000)]
HAVE_NI_WITHSCOPEID spelled right!
Daniel Stenberg [Wed, 31 Mar 2004 13:19:41 +0000 (13:19 +0000)]
Remove the elapsed time from the most recent select() only.
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.
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.
Daniel Stenberg [Wed, 31 Mar 2004 12:24:08 +0000 (12:24 +0000)]
added swsbounce
Daniel Stenberg [Wed, 31 Mar 2004 11:55:56 +0000 (11:55 +0000)]
added include to fix warning
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.
Daniel Stenberg [Wed, 31 Mar 2004 11:51:21 +0000 (11:51 +0000)]
test 153 tests Digest authorization and stale=true stuff
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.
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().
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.
Daniel Stenberg [Wed, 31 Mar 2004 10:34:53 +0000 (10:34 +0000)]
Andrés García fixed a warning in the ioctlsocket() usage.
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
Daniel Stenberg [Wed, 31 Mar 2004 09:20:27 +0000 (09:20 +0000)]
CURLDIGEST_BADALGO is a new return code from the digest code
Daniel Stenberg [Wed, 31 Mar 2004 06:10:40 +0000 (06:10 +0000)]
Dominick Meglio fixed a missing comma
Daniel Stenberg [Tue, 30 Mar 2004 15:35:09 +0000 (15:35 +0000)]
one issue less
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
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
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.
Daniel Stenberg [Tue, 30 Mar 2004 13:00:53 +0000 (13:00 +0000)]
added stale boolean to the digest struct
Daniel Stenberg [Tue, 30 Mar 2004 13:00:32 +0000 (13:00 +0000)]
first attempt to support stale=true
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.
Daniel Stenberg [Tue, 30 Mar 2004 09:06:42 +0000 (09:06 +0000)]
Dominick Meglio's new ares_expand_string() function
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.
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
Daniel Stenberg [Tue, 30 Mar 2004 08:14:37 +0000 (08:14 +0000)]
init the dns pointer to NULL for clarity
Daniel Stenberg [Tue, 30 Mar 2004 08:11:54 +0000 (08:11 +0000)]
added more comments for what the functions return
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
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.
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.
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.
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)
Daniel Stenberg [Tue, 30 Mar 2004 06:38:52 +0000 (06:38 +0000)]
David Byron added 'authdone' to the SessionHandle.
Daniel Stenberg [Mon, 29 Mar 2004 22:45:14 +0000 (22:45 +0000)]
these are now in the packages/vms dir
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...
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
Daniel Stenberg [Mon, 29 Mar 2004 13:46:16 +0000 (13:46 +0000)]
several noticable recent changes
Daniel Stenberg [Mon, 29 Mar 2004 13:45:53 +0000 (13:45 +0000)]
changes changes changes
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.
Daniel Stenberg [Mon, 29 Mar 2004 12:29:25 +0000 (12:29 +0000)]
Gisle Vanem's djgpp/MS-DOS updates
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!
Daniel Stenberg [Mon, 29 Mar 2004 07:25:59 +0000 (07:25 +0000)]
re-indented to use curl-standard source formatting
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
Daniel Stenberg [Sun, 28 Mar 2004 21:41:10 +0000 (21:41 +0000)]
use the correct struct
Daniel Stenberg [Sat, 27 Mar 2004 11:15:50 +0000 (11:15 +0000)]
Tor fixed a left-over from the ip argument to setnodelay
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.
Daniel Stenberg [Fri, 26 Mar 2004 13:20:28 +0000 (13:20 +0000)]
some more password blurb
Daniel Stenberg [Fri, 26 Mar 2004 07:10:15 +0000 (07:10 +0000)]
check for netinet/tcp.h precense before actually including it
Daniel Stenberg [Fri, 26 Mar 2004 07:03:30 +0000 (07:03 +0000)]
removed the ip number from the notcpdelay function
Daniel Stenberg [Thu, 25 Mar 2004 16:03:41 +0000 (16:03 +0000)]
get the version number from the new curlver.h header file
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
Daniel Stenberg [Thu, 25 Mar 2004 15:10:01 +0000 (15:10 +0000)]
force recent AIX versions to check for strerror_r
Daniel Stenberg [Thu, 25 Mar 2004 14:01:01 +0000 (14:01 +0000)]
only output one line about the nodelay even if it fails
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
Daniel Stenberg [Thu, 25 Mar 2004 13:42:23 +0000 (13:42 +0000)]
include the strerror.h file without curl_ prefix
Daniel Stenberg [Thu, 25 Mar 2004 13:40:57 +0000 (13:40 +0000)]
strerror without prefix
Daniel Stenberg [Thu, 25 Mar 2004 13:40:24 +0000 (13:40 +0000)]
cut off 'curl_' from the strerror file names
Daniel Stenberg [Thu, 25 Mar 2004 13:37:18 +0000 (13:37 +0000)]
tcp-nodelay patch by Joe Halpin
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
Daniel Stenberg [Thu, 25 Mar 2004 12:16:42 +0000 (12:16 +0000)]
Tor Arntsen fixed how this is invoked
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.
Daniel Stenberg [Thu, 25 Mar 2004 11:39:29 +0000 (11:39 +0000)]
detect daily snapshots using the new path for this test
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'
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
Daniel Stenberg [Thu, 25 Mar 2004 07:53:37 +0000 (07:53 +0000)]
added curl_strerror to the build
Daniel Stenberg [Thu, 25 Mar 2004 07:52:11 +0000 (07:52 +0000)]
extern declare the sys_nerr variable. Required on Solaris at least.
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.
Daniel Stenberg [Wed, 24 Mar 2004 22:53:42 +0000 (22:53 +0000)]
Added protos for the upcoming curl_*_strerror() functions
Daniel Stenberg [Wed, 24 Mar 2004 22:46:02 +0000 (22:46 +0000)]
missed the new header file
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!
Daniel Stenberg [Wed, 24 Mar 2004 22:43:09 +0000 (22:43 +0000)]
new header file - for Curl_strerror()
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
Daniel Stenberg [Wed, 24 Mar 2004 21:40:45 +0000 (21:40 +0000)]
Tor Arntsen's major ispell patch
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
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)
Daniel Stenberg [Wed, 24 Mar 2004 08:45:58 +0000 (08:45 +0000)]
added check for strerror_r()
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
Daniel Stenberg [Tue, 23 Mar 2004 16:12:55 +0000 (16:12 +0000)]
error messages and new test script
Daniel Stenberg [Tue, 23 Mar 2004 16:12:37 +0000 (16:12 +0000)]
we are progressing
Daniel Stenberg [Tue, 23 Mar 2004 16:11:01 +0000 (16:11 +0000)]
distribute testcurl.pl too starting now
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.
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
Daniel Stenberg [Tue, 23 Mar 2004 15:48:27 +0000 (15:48 +0000)]
switch() on the right variable!
Daniel Stenberg [Tue, 23 Mar 2004 15:30:12 +0000 (15:30 +0000)]
curl_strequal() returns int, keep return variables in an int
Daniel Stenberg [Tue, 23 Mar 2004 15:28:31 +0000 (15:28 +0000)]
make the variables that hold the result of strlen() size_t
Daniel Stenberg [Tue, 23 Mar 2004 15:25:54 +0000 (15:25 +0000)]
stricter variable type usage
Daniel Stenberg [Tue, 23 Mar 2004 15:20:57 +0000 (15:20 +0000)]
variable type usage cleanup to please picky compilers
Daniel Stenberg [Tue, 23 Mar 2004 15:14:57 +0000 (15:14 +0000)]
get strlen() results in a size_t, delete 'register'
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
Daniel Stenberg [Tue, 23 Mar 2004 15:01:19 +0000 (15:01 +0000)]
added explicit typecasts to prevent compiler warnings on variable conversions
Daniel Stenberg [Tue, 23 Mar 2004 14:43:42 +0000 (14:43 +0000)]
If localbind fails, provide a more portable error message.
Daniel Stenberg [Tue, 23 Mar 2004 14:34:09 +0000 (14:34 +0000)]
minor update by Kevin
Daniel Stenberg [Tue, 23 Mar 2004 14:29:21 +0000 (14:29 +0000)]
src/version.h was not properly made!