lobste.rs
The occasional `ECONNRESET`
Closing a TCP socket with `shutdown(RD_WR)` or `close()` can cause `ECONNRESET` errors for the peer because data still in flight may be discarded before the receiver finishes reading.
One line. Many voicesSeek and you shall find
lobste.rs
Closing a TCP socket with `shutdown(RD_WR)` or `close()` can cause `ECONNRESET` errors for the peer because data still in flight may be discarded before the receiver finishes reading.