wine/server
Zebediah Figura ec07f285e2 server: Separate SD_RECEIVE and hangup conditions.
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: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 20:14:12 +02:00
..
async.c server: Remove special handling of STATUS_MORE_PROCESSING_REQUIRED. 2021-07-05 19:55:18 +02:00
atom.c server: Remove support for process-local handle tables. 2021-02-16 11:13:41 +01:00
change.c server: Do not forbid closing fd handles in other processes. 2021-03-23 12:29:10 +01:00
class.c server: Ignore low word of a class instance when looking up for a window class. 2020-02-27 23:34:51 +01:00
clipboard.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
completion.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
console.c server: Do not forbid closing fd handles in other processes. 2021-03-23 12:29:10 +01:00
debugger.c server: Add a native_machine global variable. 2021-06-24 11:00:24 +02:00
device.c ntoskrnl.exe: Implement volume information queries for device files. 2021-02-15 16:20:42 +01:00
directory.c server: Store session id in the process and return it at process init time. 2021-07-01 22:34:31 +02:00
event.c server: Make pulse_event() static. 2021-03-18 22:04:01 +01:00
fd.c server: Forbid shrinking files which are mapped to memory. 2021-06-29 12:39:35 +02:00
file.c server: Map a SD group to Unix group modes if the SD owner is present anywhere in the current user's token. 2021-04-22 21:12:57 +02:00
file.h ntdll: Truncate files through the server. 2021-06-29 12:37:25 +02:00
handle.c server: Call the close_handle callback and release_object_from_handle() in the same loop. 2021-07-05 19:54:56 +02:00
handle.h server: Inherit standard handles together with explicit handle list. 2020-09-29 21:04:13 +02:00
hook.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
mach.c server: Get rid of the CPU type and functions. 2021-04-27 10:42:04 +02:00
mailslot.c server: Do not forbid closing fd handles in other processes. 2021-03-23 12:29:10 +01:00
main.c server: Create the NLS section object for the l_intl.nls file. 2020-11-27 18:28:35 +01:00
Makefile.in server: Use l_intl.nls for case mappings. 2020-11-27 18:28:35 +01:00
mapping.c server: Don't generate dll load event for native binaries on Wow64. 2021-07-09 22:15:30 +02:00
mutex.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
named_pipe.c server: Do not forbid closing fd handles in other processes. 2021-03-23 12:29:10 +01:00
object.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
object.h server: Add a native_machine global variable. 2021-06-24 11:00:24 +02:00
process.c server: Store the session id in the process token. 2021-07-01 22:34:31 +02:00
process.h server: Store session id in the process and return it at process init time. 2021-07-01 22:34:31 +02:00
procfs.c server: Add a platform-specific entry point to initialize registers of a new thread. 2017-07-27 17:04:04 +02:00
protocol.def server: Explicitly return whether a select request was immediately signaled. 2021-07-05 19:55:18 +02:00
ptrace.c server: Check for system regs before suspending for ptrace. 2021-05-26 21:30:30 +02:00
queue.c server: Send HID report data with the WM_INPUT messages. 2021-05-31 12:31:21 +02:00
region.c server: Map region to the window DPI in redraw_region(). 2018-08-24 20:12:05 +02:00
registry.c server: Return STATUS_KEY_DELETED when trying to retrieve the full name of a deleted key. 2021-07-01 22:34:31 +02:00
request.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
request.h server: Explicitly return whether a select request was immediately signaled. 2021-07-05 19:55:18 +02:00
security.h server: Store the session id in the process token. 2021-07-01 22:34:31 +02:00
semaphore.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
serial.c server: Do not forbid closing fd handles in other processes. 2021-03-23 12:29:10 +01:00
signal.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
sock.c server: Separate SD_RECEIVE and hangup conditions. 2021-07-26 20:14:12 +02:00
symlink.c server: Use the object type information to implement access mapping. 2021-02-05 22:53:46 +01:00
thread.c server: Explicitly return whether a select request was immediately signaled. 2021-07-05 19:55:18 +02:00
thread.h ntdll: Avoid accessing the I/O status block in wait_async(). 2021-05-24 11:32:28 +02:00
timer.c server: Use a standard user APC also for timers. 2021-05-25 21:13:00 +02:00
token.c ntdll: Implement NtQueryInformationToken(TokenSessionId). 2021-07-01 22:34:31 +02:00
trace.c server: Explicitly return whether a select request was immediately signaled. 2021-07-05 19:55:18 +02:00
unicode.c server: Store the NT name in the fd object. 2021-02-09 14:17:51 +01:00
unicode.h server: Create the NLS section object for the l_intl.nls file. 2020-11-27 18:28:35 +01:00
user.c
user.h server: Track desktop users per thread instead of per process. 2021-04-21 21:00:33 +02:00
window.c server: Store length of window text instead of null-terminating it. 2020-03-23 11:40:04 +01:00
wineserver.de.UTF-8.man.in server: Move WineHQ URLs to https. 2017-12-01 09:23:26 +01:00
wineserver.fr.UTF-8.man.in server: Move WineHQ URLs to https. 2017-12-01 09:23:26 +01:00
wineserver.man.in server: Move WineHQ URLs to https. 2017-12-01 09:23:26 +01:00
winstation.c server: Track desktop users per thread instead of per process. 2021-04-21 21:00:33 +02:00