ntdll: Use the send_socket request for NtWriteFile() on a socket.
commitcb8937801d42417c2b98cba15366ccc154c1cc40
authorZebediah Figura <zfigura@codeweavers.com>
Sun, 29 May 2022 21:51:00 +0000 (29 16:51 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 14 Jul 2022 08:29:12 +0000 (14 10:29 +0200)
treef2995b2042d5c57b007c397ad587e4e7e1522125
parent9783e2e16c35586b5fa65ae27ac1f96c6260c534
ntdll: Use the send_socket request for NtWriteFile() on a socket.

send_socket does some extra bookkeeping that's currently missing from the
register_async path. Instead of adding it to sock_queue_async(), let's just
centralize all send requests so that they go through send_socket.
dlls/ntdll/unix/file.c
dlls/ntdll/unix/socket.c
dlls/ntdll/unix/unix_private.h