Sweden-Number/dlls/ws2_32
Jinoh Kang 29883e2db9 ws2_32/tests: Continue sending remaining data on short write in test_write_events.
Today, we assert that a short write clears the FD_WRITE event bit;
however, short writes can never happen on Windows in the first place.
We're testing for a property of a socket behaviour that does not exist
on Windows, but currently happens to be exhibited by Wine.

Ignore short writes, and continue sending until it fails with
EWOULDBLOCK.  This way, the test won't care whether or not a short write
clears FD_WRITE.  This allows us some flexibility in implementation of
send().

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-22 18:36:49 +01:00
..
tests ws2_32/tests: Continue sending remaining data on short write in test_write_events. 2022-03-22 18:36:49 +01:00
Makefile.in ws2_32: Build without -DWINE_NO_LONG_TYPES. 2022-02-07 10:58:20 +01:00
async.c ws2_32: Build without -DWINE_NO_LONG_TYPES. 2022-02-07 10:58:20 +01:00
hosts
networks
protocol
protocol.c ws2_32: Base inet_addr() implementation on musl. 2022-03-04 21:10:40 +01:00
services
socket.c ws2_32: Manage shorter length for IPV6_V6ONLY. 2022-03-11 19:23:28 +01:00
unixlib.c ws2_32: Fix memory leaks on error paths in unix_gethostby* (scan-build). 2022-02-02 18:43:10 +01:00
version.rc
ws2_32.spec
ws2_32_private.h ws2_32: Do not assume that an fd_set is bounded by FD_SETSIZE. 2021-12-30 23:09:45 +01:00