Fixed socket system call interrupt handling.
This commit is contained in:
parent
ec831a98c1
commit
1be85fdb70
1 changed files with 3 additions and 0 deletions
|
@ -593,6 +593,9 @@ int Socket::Connection::iread(void * buffer, int len, int flags) {
|
|||
case EWOULDBLOCK:
|
||||
return 0;
|
||||
break;
|
||||
case EINTR:
|
||||
return 0;
|
||||
break;
|
||||
default:
|
||||
if (errno != EPIPE) {
|
||||
Error = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue