Fixed socket system call interrupt handling.

This commit is contained in:
Thulinma 2014-09-01 16:38:16 +02:00
parent ec831a98c1
commit 1be85fdb70

View file

@ -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;