cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libcurl + libuv problem on Windows 7 x64

From: Jonathan C. <well.bad_at_hotmail.com>
Date: Sun, 11 May 2014 20:24:39 +0000

> Hi, what version of libuv are you using? Please try again with libuv
> master: https://github.com/joyent/libuv

I've just cloned the master branch.
The only thing that needs to be modified is the on_timeout function to have the signature: void on_timeout( uv_timer_t* handle )

I was using libcurl version 7.35 on windows, and 7.26 on linux/debian. But I just updated both to 7.36 and nothing changed.

> I hope Iíll find some time to look into it later today. Would be
> interesting to know if it is reproducible on Linux or if it is a
> Windows-specific problem

Windows only, linux/debian output:

B$./test http://www.google.com:81
Added download http://www.google.com:81 -> 1.download
* Rebuilt URL to: http://www.google.com:81/
* Hostname was NOT found in DNS cache
*†† Trying 173.194.118.240...
handle_socket called with action: 2 And socketp: 0
* After 995ms connect time, move on!
* connect to 173.194.118.240 port 81 failed: Connection timed out
*†† Trying 173.194.118.244...
handle_socket called with action: 4 And socketp: 0x1339570
handle_socket called with action: 2 And socketp: 0
* After 497ms connect time, move on!
* connect to 173.194.118.244 port 81 failed: Connection timed out
*†† Trying 173.194.118.242...
handle_socket called with action: 4 And socketp: 0x1339600
handle_socket called with action: 2 And socketp: 0
* After 247ms connect time, move on!
* connect to 173.194.118.242 port 81 failed: Connection timed out
*†† Trying 173.194.118.241...
handle_socket called with action: 4 And socketp: 0x1339570
handle_socket called with action: 2 And socketp: 0
* After 123ms connect time, move on!
* connect to 173.194.118.241 port 81 failed: Connection timed out
*†† Trying 173.194.118.240...
handle_socket called with action: 4 And socketp: 0x1339600
handle_socket called with action: 2 And socketp: 0
* After 61ms connect time, move on!
* connect to 173.194.118.240 port 81 failed: Connection timed out
*†† Trying 173.194.118.244...
handle_socket called with action: 4 And socketp: 0x1339570
handle_socket called with action: 2 And socketp: 0
* After 26ms connect time, move on!
* connect to 173.194.118.244 port 81 failed: Connection timed out
*†† Trying 173.194.118.242...
handle_socket called with action: 4 And socketp: 0x1339600
handle_socket called with action: 2 And socketp: 0
* After 11ms connect time, move on!
* connect to 173.194.118.242 port 81 failed: Connection timed out
*†† Trying 173.194.118.241...
handle_socket called with action: 4 And socketp: 0x1339570
handle_socket called with action: 2 And socketp: 0
* Connection timed out after 2033 milliseconds
handle_socket called with action: 4 And socketp: 0x1339600

                                               
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-11