Daniel Stenberg [Tue, 6 Apr 2004 07:48:29 +0000 (07:48 +0000)]
typecasts to please picky compilers checking the printf() format string
Daniel Stenberg [Tue, 6 Apr 2004 06:24:37 +0000 (06:24 +0000)]
one change, three bugs, one credit
Daniel Stenberg [Tue, 6 Apr 2004 06:24:06 +0000 (06:24 +0000)]
the last couple of days
Daniel Stenberg [Tue, 6 Apr 2004 06:18:48 +0000 (06:18 +0000)]
two issues to fix before 7.11.2, one issue to fix befor 7.12.0
Daniel Stenberg [Tue, 6 Apr 2004 06:06:10 +0000 (06:06 +0000)]
remove the general use of sys_nerr
Daniel Stenberg [Mon, 5 Apr 2004 12:38:54 +0000 (12:38 +0000)]
generated files, no need to keep in CVS
Daniel Stenberg [Fri, 2 Apr 2004 11:04:34 +0000 (11:04 +0000)]
prepend the man3 dir to the file name to work better.
Robin Kay pointed this out.
Daniel Stenberg [Fri, 2 Apr 2004 09:56:01 +0000 (09:56 +0000)]
edits, mainly to make the generated html output nicer
Daniel Stenberg [Fri, 2 Apr 2004 09:50:42 +0000 (09:50 +0000)]
minor edits
Daniel Stenberg [Fri, 2 Apr 2004 07:32:03 +0000 (07:32 +0000)]
Dirk Manske's feedback:
* bring back subsecond resolution to CURLINFO_TOTAL_TIME
* Fix the Curl_pgrsDone() so that the final progress update is shown properly
Daniel Stenberg [Fri, 2 Apr 2004 07:18:13 +0000 (07:18 +0000)]
Andrés García's updated mingw makefiles
Daniel Stenberg [Fri, 2 Apr 2004 06:40:31 +0000 (06:40 +0000)]
if select returns -1, bail out of the loop
Daniel Stenberg [Thu, 1 Apr 2004 10:26:59 +0000 (10:26 +0000)]
Only check that the c-ares lib is valid if we don't use the "embedded"
directory. The provided ares dir is probably up-to-date, but more importantly
it is often not built yet at the time when this configure script runs.
Daniel Stenberg [Thu, 1 Apr 2004 09:10:33 +0000 (09:10 +0000)]
When ares is enabled, we now check for the ares_cancel function to verify
that we use a library that is recent enough to build with the latest libcurl.
Daniel Stenberg [Thu, 1 Apr 2004 08:40:36 +0000 (08:40 +0000)]
Dirk Manske's fix that makes sure we cancel the ares resolve when we time out
from a name resolve. Without this, we leak memory!
Daniel Stenberg [Thu, 1 Apr 2004 08:25:58 +0000 (08:25 +0000)]
Dirk Manske's ares_cancel() function was added.
Daniel Stenberg [Thu, 1 Apr 2004 08:25:23 +0000 (08:25 +0000)]
edited slightly, point out our new mailinglist
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
Daniel Stenberg [Thu, 1 Apr 2004 07:04:58 +0000 (07:04 +0000)]
removed my previously attempted fix for ares timeouts, not needed
Daniel Stenberg [Thu, 1 Apr 2004 06:53:11 +0000 (06:53 +0000)]
Applied Joe Halpin's bugfixes to the NI_WITHSCOPEID test program.
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