Daniel Stenberg [Wed, 15 Oct 2003 11:42:57 +0000 (11:42 +0000)]
Avoid doing getsockopt() on Windows to verify connects. It seems that this
hogs Windows machines when libcurl is being used multi-threaded (with > ~50
threads). Andrew Fuller helped us verify and test this.
According to a MSDN web page on connect(), it returns 0 when the connect
is done and thus we don't need the getsockopt() call anyway on Windows.
Daniel Stenberg [Mon, 13 Oct 2003 13:07:50 +0000 (13:07 +0000)]
Updated build instruction since I now offer a complete ares-package with all
the patches already applied. No need to apply any patches manually anymore.
Daniel Stenberg [Sun, 12 Oct 2003 13:57:41 +0000 (13:57 +0000)]
Dirk Manske made the share-locking around DNS lookups a bit "looser" so that
multiple DNS lookups can run simultaneously faster. The downside is that
resolving the same host name now can be made at once from multiple threads,
but the upside is that threads now don't alwys have to wait for the others'
resolves. Test case 506 updated accordingly.
Daniel Stenberg [Thu, 9 Oct 2003 20:04:47 +0000 (20:04 +0000)]
Lachlan O'Dea fixed a resume problem: "If I set CURLOPT_RESUME_FROM, perform
an HTTP download, then reset CURLOPT_RESUME_FROM to 0, the next download still
has a Range header with a garbage value." bug report #820502
Daniel Stenberg [Tue, 7 Oct 2003 21:46:47 +0000 (21:46 +0000)]
Neil Dunbar provided a patch that now makes libcurl check SSL
subjectAltNames when matching certs. This is apparently detailed in RFC2818
as the right thing to do. I had to add configure checks for inet_pton() and
our own (strictly speaking, code from BIND written by Paul Vixie) provided
code for the function for platforms that miss it.
Daniel Stenberg [Sun, 5 Oct 2003 08:35:55 +0000 (08:35 +0000)]
improved the non-block check a lot:
* several tests ALWAYS failed due to bad test programs
* the IoctlSocket() test now is linked on test as it could otherwise compile
fine on many systems that doesn't support it
* added a test for the BeOS way of doing non-blocking sockets (based on a
patch from Shard)
Daniel Stenberg [Sat, 4 Oct 2003 15:51:16 +0000 (15:51 +0000)]
- Vincent Bronner pointed out that if you set CURLOPT_COOKIE for a transfer
and then set it to NULL in a subsequent one, the previous cookie was still
sent off!
Daniel Stenberg [Sat, 4 Oct 2003 15:48:15 +0000 (15:48 +0000)]
Vincent Bronner pointed out that if you set CURLOPT_COOKIE to NULL, it still
sends off the previously set cookie. This also concerns CURLOPT_REFERER.
This fix should stop this.
Daniel Stenberg [Sat, 4 Oct 2003 14:50:45 +0000 (14:50 +0000)]
Based on a patch provided by Siddhartha Prakash Jain. In Curl_resolv() when
my_getaddrinfo() has been called (and wait has been set to TRUE), we check
if the name already is resolved and if so don't return wait status to the
parent. This can happen with IP-only names.
Daniel Stenberg [Sun, 14 Sep 2003 21:17:54 +0000 (21:17 +0000)]
Jeff Pohlmeyer did some marvelous debugging to track this one down. We MUST
NOT free the existing hash entry when we try to add a new one that matches
an existing entry. We now instead free the new one, and make the parent
function use the old entry's struct instead.
Daniel Stenberg [Fri, 12 Sep 2003 15:41:14 +0000 (15:41 +0000)]
When people have environment variables set for protocol proxies, we must make
sure to clear them before we run the tests as they interfere badly otherwise.