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:
|
case EWOULDBLOCK:
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
|
case EINTR:
|
||||||
|
return 0;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if (errno != EPIPE) {
|
if (errno != EPIPE) {
|
||||||
Error = true;
|
Error = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue