• Zebediah Figura's avatar
    server: Separate SD_RECEIVE and hangup conditions. · ec07f285
    Zebediah Figura authored
    This patch does result in one functional change: if we are selecting for
    AFD_POLL_READ on a socket which has had SD_RECEIVE and there are no asyncs, we
    will now respond to POLLIN instead of ignoring it. Neither this nor the previous
    behaviour matches Windows, which instead puts the socket into an aborted state
    and sends RST to the peer if any data is received after SD_RECEIVE or if
    SD_RECEIVE is done while there is pending data.
    
    Apart from this there is no functional change, as the places where rd_shutdown
    alone is checked can't be reached if there was a hangup. It is instead for
    semantic clarity.
    Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    ec07f285
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...