bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] --connect-timeout doesn't work on Windows


From: Tim Rühsen
Subject: Re: [Bug-wget] --connect-timeout doesn't work on Windows
Date: Sat, 14 Mar 2015 19:03:54 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

Am Samstag, 14. März 2015, 14:27:14 schrieb Jernej Simončič:
> It appears that --connect-timeout doesn't work on recent versions of
> wget when running on Windows (compiled with mingw). I have confirmed
> this with my own builds of wget (available at
> <https://eternallybored.org/misc/wget/>, both 1.16.3 and 1.13), and
> with the builds available here:
> <http://opensourcepack.blogspot.com/2010/05/wget-112-for-windows.html>.
> 
> This is pretty trivial to test - I used
>   wget --connect-timeout=1 http://192.0.2.1:12345/
> ...and wget just hung there (I left it for a few minutes).
> 
> The old gnuwin32 build (1.11.4) doesn't have this problem.

There has been commit 4a685764a845d5c74a76fcb49a4671f055b8d5f4 (15.5.2011) 
between release 1.12 and 1.13. It sets the socket to blocking after calling 
gnulib's select().

Maybe someone with Windows access can have a look !?

Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]