diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-03-29 18:25:31 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-04-03 12:37:39 +0200 |
commit | 3d1f35eb13fbf0c16008830d5f8841910b308ee4 (patch) | |
tree | ee20f1f70680fb0ebace32ab0d14ec3a70eaac3e /lib/vauth/digest.c | |
parent | 9657ecb15b387ce86421af738045ede8a72aab13 (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 'lib/vauth/digest.c')
0 files changed, 0 insertions, 0 deletions