I have this built already and have attached it. Mine sits in `poll_socket()` rather than at send completion, clearing `reported_events & AFD_POLL_WRITE` when a poll sees a connected stream that cannot accept a send. It applies on top of the writability patch in this MR rather than stock master, since its context needs `sock_stream_send_ready()`.
I did not submit it because it contradicts the FD_WRITE re-arm test in this MR. I checked real Windows and it does not re-arm on a poll-observed not-writable. That test would need to become todo_wine, or the divergence accepted on purpose.
Yeah, I don't think we want to do that if it's incorrect. Why this instead of in send_socket_completion_callback()? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11272#note_148678