[PATCH] Fix poll/select signal socket as write ready on connect failure

Marc Hoersken info@marc-hoersken.de
Fri Jul 17 19:33:28 GMT 2020


Hi Corinna,

Am 17.07.2020 um 21:21 schrieb Corinna Vinschen:
> I don't agree here.  The sole purpose for connect_errorcode is to set
> SOL_SOCKET/SO_ERROR in case a caller requests FD_CONNECT and FD_CONNECT
> is available.  After being set once, SOL_SOCKET/SO_ERROR should not be
> rewritten, given the description of SO_ERROR in `man 7 socket':
>
>      SO_ERROR
> 	  Get and clear the pending socket error.  This socket  option  is
> 	      ^^^^^^^^^
> 	  read-only.  Expects an integer.
>
> [...]
>
> Make sense?


yes, this makes sense. Please go for it.

Is there a public changelog I can check regulary to see if this has been 
released (once it is)? Thanks!

Best regards,
Marc



More information about the Cygwin mailing list