Subject: Re: bug#20159: 24.4; url-retrieve invokes same callback twice with kill-buffer

From: Eli Zaretskii <[email-masked]>
Date: Fri, 27 Mar 2015 12:52:00 +0300

> Date: Sun, 22 Mar 2015 19:31:48 +0200
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked]
> 
> Due to some subtle technical issues with the 'select' emulation, the
> ':nowait' subfeature is turned off on Windows since more than 8 years
> ago.  The result is that the 'connect' call is blocking, and I believe
> this is what you see.
> 
> Volunteers are welcome to add support for non-blocking connections;
> see these messages for the starting point:
> 
>   http://lists.gnu.org/archive/html/emacs-devel/2005-11/msg01586.html
>   http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00873.html

No one volunteered, so I did it myself, see commit d133cf8 on master.