[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: possible issue with bsd_poll() on Windows
[Thread Prev] | [Thread Next]
- Subject: RE: possible issue with bsd_poll() on Windows
- From: John Dunn <John.Dunn@xxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 19 Dec 2018 18:13:51 +0000
- To: Andreas Schneider <asn@xxxxxxxxxxxxxx>, "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
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.
Re: possible issue with bsd_poll() on Windows | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
RE: possible issue with bsd_poll() on Windows | John Dunn <John.Dunn@xxxxxxx> |
Re: possible issue with bsd_poll() on Windows | Andreas Schneider <asn@xxxxxxxxxxxxxx> |