If I understand the code correctly, quinn-udp returns Ok(()) for any IO error except WouldBlock. This behavior causes issues within Firefox, as certain parts of the code rely on the underlying error codes (e.g., NS_ERROR_CONNECTION_REFUSED) to handle specific scenarios appropriately.
https://github.com/quinn-rs/quinn/blob/3a9d176a7a131a1f6d9472c1a23fccdcb1275b52/quinn-udp/src/unix.rs#L215
If I understand the code correctly,
quinn-udp
returnsOk(())
for any IO error exceptWouldBlock
. This behavior causes issues within Firefox, as certain parts of the code rely on the underlying error codes (e.g.,NS_ERROR_CONNECTION_REFUSED
) to handle specific scenarios appropriately.