]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: make sure failed sockets always signal writability
authorMarc Hoersken <info@marc-hoersken.de>
Wed, 15 Jul 2020 18:53:21 +0000 (20:53 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 16 Jul 2020 08:50:51 +0000 (10:50 +0200)
commitaa86784937ec7868c358dd90ea5e5324f0be750d
treed4dbc2768285d0727d5fe0a34c40f35a1d1853b1
parentb1237e64fd03a3b802b9fedde298505e22b3f07f
Cygwin: make sure failed sockets always signal writability

Since FD_CONNECT is only given once, we manually need to set
FD_WRITE for connection failed sockets to have consistent
behaviour in programs calling poll/select multiple times.

Example test to non-listening port: curl -v 127.0.0.1:47
winsup/cygwin/fhandler_socket_inet.cc
This page took 0.029764 seconds and 5 git commands to generate.