don't warn on ECONNABORTED

This commit is contained in:
Alexandre Ratchov 2013-03-13 09:35:21 +01:00
parent ca804a9ffe
commit 280f58c39a
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ listen_revents(struct file *file, struct pollfd *pfd)
continue;
if (errno == ENFILE || errno == EMFILE)
file_slowaccept = 1;
else
else if (errno != ECONNABORTED && errno != EWOULDBLOCK)
perror("accept");
return 0;
}

View File

@ -244,7 +244,7 @@ listen_in(void *arg)
continue;
if (errno == ENFILE || errno == EMFILE)
file_slowaccept = 1;
else
else if (errno != ECONNABORTED && errno != EWOULDBLOCK)
perror("accept");
return;
}