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

RE: possible issue with bsd_poll() on Windows


On Monday, December 10, 2018 2:26 AM Andreas Schneider wrote:
 > Please check
> 
> https://git.libssh.org/users/asn/libssh.git/log/?h=master-poll

Same behavior, as far as I can tell. In the case of a connection refused exceptfds is set and events is 0x310 (  POLLWRNORM | POLLRDNORM | POLLRDBAND ). That means revents is not zero so rc is incremented to 1 and returned.

You might not be aware but Microsoft has a freely available Windows image with Visual Studio available here - https://developer.microsoft.com/en-us/windows/downloads/virtual-machines. You should be able to use to easily reproduce the issue on your local machine in a VM.

Follow-Ups:
Re: possible issue with bsd_poll() on WindowsAndreas Schneider <asn@xxxxxxxxxxxxxx>
References:
RE: possible issue with bsd_poll() on WindowsJohn Dunn <John.Dunn@xxxxxxx>
Re: possible issue with bsd_poll() on WindowsAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org