[PATCH 0/3] MR225: server: Fix races related to socket errors

Piotr Caban (@piotr) wine at gitlab.winehq.org
Fri Jun 10 11:01:00 CDT 2022


Calling ioctl(..., SO_ERROR, ...) clears pending socket error. Because of that we may clear the error in poll_socket or IOCTL_AFD_GET_SO_ERROR. This leads to failures during Battle.net installation (it's a race that I can only reproduce on slow machines).

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/225



More information about the wine-devel mailing list