Daniel Stenberg [Tue, 13 Apr 2004 07:16:26 +0000 (07:16 +0000)]
Moved the 'tcp_nodelay' member to the proper 'UserDefined' struct within the
sessionhandle to make the duphandle() function work as supposed. Also tried
to start document functions the doxygen way (in the headers of the functions).
Can't make it work though...
Daniel Stenberg [Tue, 13 Apr 2004 05:57:50 +0000 (05:57 +0000)]
Initial support for dumping the contents of the files in log/ when failing
when -p is used. For easier bug-hunting of autobuild failures. This still
only shows what files that are present in log/, as I believe we need to
filter which files we show on a failure.
Daniel Stenberg [Tue, 6 Apr 2004 15:14:10 +0000 (15:14 +0000)]
New authentication code added, particularly noticable when doing POST or PUT
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication
and when done perform the requested POST.
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 [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 [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 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 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: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: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 [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 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 [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...