commit | 9efb1745bf0eb68064a670b297d4ec7fc98caa02 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Tue May 21 01:48:11 2019 +0200 |
committer | Nikias Bassen <nikias@gmx.li> | Tue May 21 01:48:11 2019 +0200 |
tree | 35d08bfe8ebde55baefb30e0f009bb31c1e06971 | |
parent | cf265a8cf3059b34209cdef8afb3b77246614e68 [diff] |
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.