Commit ad078be4 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

server: Send AFD_POLL_READ messages before AFD_POLL_WRITE.

parent 934023d1
......@@ -5896,7 +5896,7 @@ static void test_read_events(struct event_test_ctx *ctx)
check_events(ctx, 0, 0, 0);
select_events(ctx, server, FD_ACCEPT | FD_CONNECT | FD_OOB | FD_READ | FD_WRITE);
check_events_todo(ctx, FD_READ, FD_WRITE, 200);
check_events_todo_event(ctx, FD_READ, FD_WRITE, 200);
check_events(ctx, 0, 0, 0);
ret = sync_recv(server, buffer, 5, 0);
......
......@@ -505,8 +505,8 @@ static const enum afd_poll_bit event_bitorder[] =
AFD_POLL_BIT_CONNECT_ERR,
AFD_POLL_BIT_ACCEPT,
AFD_POLL_BIT_OOB,
AFD_POLL_BIT_WRITE,
AFD_POLL_BIT_READ,
AFD_POLL_BIT_WRITE,
AFD_POLL_BIT_RESET,
AFD_POLL_BIT_HUP,
AFD_POLL_BIT_CLOSE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment