summaryrefslogtreecommitdiffstats
path: root/common/thread.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-05-21 01:48:11 +0200
committerGravatar Nikias Bassen2019-05-21 01:48:11 +0200
commit9efb1745bf0eb68064a670b297d4ec7fc98caa02 (patch)
tree35d08bfe8ebde55baefb30e0f009bb31c1e06971 /common/thread.h
parentcf265a8cf3059b34209cdef8afb3b77246614e68 (diff)
downloadlibusbmuxd-9efb1745bf0eb68064a670b297d4ec7fc98caa02.tar.gz
libusbmuxd-9efb1745bf0eb68064a670b297d4ec7fc98caa02.tar.bz2
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.
Diffstat (limited to 'common/thread.h')
0 files changed, 0 insertions, 0 deletions