libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.
I was encountering lots of unexpected errors thrown when using TCP connections for Windows (iocpbackend) and added these in locally to address connection drops and such without seeing those particular unexpected errors.
Adds ConnectionReset error to WriteError and ReadError as it is seen in io_uring backend.
Reports WSA_OPERATION_ABORTED and WSAECONNABORTED as Canceled
Reports WSAECONNRESET and WSAENETRESET as ConnectionReset
I was encountering lots of unexpected errors thrown when using TCP connections for Windows (
iocp
backend) and added these in locally to address connection drops and such without seeing those particular unexpected errors.ConnectionReset
error to WriteError and ReadError as it is seen inio_uring
backend.WSA_OPERATION_ABORTED
andWSAECONNABORTED
as CanceledWSAECONNRESET
andWSAENETRESET
as ConnectionReset