aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sws.c
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-03-29 18:25:31 +0200
committerMarc Hoersken <info@marc-hoersken.de>2020-04-03 12:37:39 +0200
commit3d1f35eb13fbf0c16008830d5f8841910b308ee4 (patch)
treeee20f1f70680fb0ebace32ab0d14ec3a70eaac3e /tests/server/sws.c
parent9657ecb15b387ce86421af738045ede8a72aab13 (diff)
sockfilt: fix handling of ready closed sockets on Windows
Replace the incomplete workaround regarding FD_CLOSE only signalling once by instead doing a pre-check with standard select and storing the result for later use. select keeps triggering on closed sockets on Windows while WSAEventSelect fires only once with data still available. By doing the pre-check we do not run in a deadlock due to waiting forever for another FD_CLOSE event.
Diffstat (limited to 'tests/server/sws.c')
0 files changed, 0 insertions, 0 deletions