Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
socket: Return -ECONNRESET from socket_receive_timeout() instead of -…
…EAGAIN if peer closed the socket Returning -EAGAIN would indicate the caller can try again, but if the peer closed the socket that wouldn't make any sense. Thanks to sctol for reporting.
- Loading branch information