Add a comment to explain the EAGAIN is only there for POSIX compliance
Resquested by: kib Reviewed by: des
This commit is contained in:
parent
5e351014e0
commit
3674911c29
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268671
@ -1110,6 +1110,7 @@ fetch_writev(conn_t *conn, struct iovec *iov, int iovcnt)
|
||||
errno = 0;
|
||||
pfd.revents = 0;
|
||||
if (poll(&pfd, 1, deltams) < 0) {
|
||||
/* POSIX compliance */
|
||||
if (errno == EAGAIN)
|
||||
continue;
|
||||
if (errno == EINTR && fetchRestartCalls)
|
||||
|
Loading…
Reference in New Issue
Block a user