Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Guenter
Hi Michael, On 01.04.2013 12:37, Michael-O wrote: As a side note: when running the configure script in cygwin either for curl or c-ares the script hangs on checking types of args and return type for recvfrom... [1] Though my machine is quite old, the script runs in a decent time except that

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Guenter
Michael, On 31.03.2013 17:18, Michael-O wrote: I am on Windows XP SP3 32 bits, I have compiled curl with MingW32 with GCC 4.5.2. you should upgrade to a newer MinGW version; in the past it turned out that exactly this version had some issues [1][2] ... Gün. [1]

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Michael-O
Am 2013-04-01 14:23, schrieb Guenter: Michael, On 31.03.2013 17:18, Michael-O wrote: I am on Windows XP SP3 32 bits, I have compiled curl with MingW32 with GCC 4.5.2. you should upgrade to a newer MinGW version; in the past it turned out that exactly this version had some issues [1][2] ...

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Michael-O
Am 2013-04-01 14:06, schrieb Guenter: Hi Michael, On 01.04.2013 12:37, Michael-O wrote: As a side note: when running the configure script in cygwin either for curl or c-ares the script hangs on checking types of args and return type for recvfrom... [1] Though my machine is quite old, the

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Gisle Vanem
Michael-O 1983-01...@gmx.net wrote: Jackpot! No proxies but I found several addresses in 192.168.56.* This is the VirtualBox (version 4.1.24 installed) Host-Only Network adapter. I have disabled it, and boom curl resolves immediately. A bug in VirtualBox I would guess. Some similar issue is

Could not clone curl from haxx.se

2013-04-01 Thread Erik Johansson
Hi, Trying to clone curl fron haxx.se as mentioned on http://curl.haxx.se/dev/source.html fails as shown below: % git clone git://curl.haxx.se/curl Cloning into 'curl'... fatal: remote error: access denied or repository not exported: /curl // Erik -- Erik Johansson Home Page:

RE: Multi handle DNS cache entry expiration

2013-04-01 Thread Vladimir Grishchenko
With one multi and 4 easy handles at max often it takes more than 60 seconds between gethostbyname calls. Using 7.23.1 and sync resolver. Then perhaps you should consider upping the timeout? CURLOPT_DNS_CACHE_TIMEOUT is a bit funny as it is still set per easy handle even when you

Re: Could not clone curl from haxx.se

2013-04-01 Thread Daniel Stenberg
On Mon, 1 Apr 2013, Erik Johansson wrote: Trying to clone curl fron haxx.se as mentioned on http://curl.haxx.se/dev/source.html fails as shown below: Ah yes, someone else also reported to me previously that the Swedish mirror doesn't work. I've removed the mentioning of that for now until I

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Guenter
Hi Gisle, On 01.04.2013 17:51, Gisle Vanem wrote: BTW. Gunter, your testspeed.bat file writes the test-file to disk and then deletes it right after. IMHO when testing just network speed, (and rule out a slow disk) you could write to the NUL-device and possibly eliminate some timing errors:

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Michael-O
Am 2013-04-01 17:18, schrieb Michael-O: Am 2013-04-01 16:19, schrieb Guenter: Hi Michael, On 01.04.2013 12:37, Michael-O wrote: This is what I have assumed, it's my setup. How come that other applications resolve quite fast? some things you should check: - disable automatic proxy

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Guenter
Hi Michael, On 01.04.2013 22:36, Michael-O wrote: I have created an issue for this: https://www.virtualbox.org/ticket/11663 Daniel, you may want to add this as a known issue. 1st we need to know if this is also an issue with the default windows resolver; so have you also tested with a

Re: HTTP PUT not receiving peer cgi's error response

2013-04-01 Thread Daniel Stenberg
On Tue, 19 Mar 2013, Andreas Frisch wrote: thx for your reply. It's difficult to find a generic server anywhere which does exactly provide the behaviour which my cgi-bin shows. Here's a step-to-step tutorial to simulate the problem: I'm sorry. I'm working with some 15ish issues in parallel

RE: Multi handle DNS cache entry expiration

2013-04-01 Thread Daniel Stenberg
On Mon, 1 Apr 2013, Vladimir Grishchenko wrote: I'm not fully clear about your suggestion about upping the timeout. Currently our app only talks to one host only so yes, generally upping the timeout would be a sensible thing to do. However I would expect to see a gethostbyname call every 60

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-01 Thread Guenter
Hi Michael, On 01.04.2013 23:24, Michael-O wrote: Am 2013-04-01 22:52, schrieb Guenter: 1st we need to know if this is also an issue with the default windows resolver; so have you also tested with a non-c-ares build? If it only occures with c-ares then this is only an issue with this lib, but

Test results for W32

2013-04-01 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here's the output of `make check'. Hopefully, this will be useful. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

[patch] numcookies of cookie counts up always.

2013-04-01 Thread Yasuharu Yamada
Hello ALL I'm YAMADA Yasuharu. I work for ACCESS CO,. LTD. which is embeded web browser developper. Our team develops NetFront Browser NX based on webkit with cURL as HTTP stack. I wrote a small patch to fix to count up numcookies in Curl_cookie_add(). The patch is for 7.29.0. numcookies is