diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-10 13:04:52 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-10 13:04:52 +0000 |
| commit | 4472d6e1df6bdf98c5bf3f692296e6b2de5cbd55 (patch) | |
| tree | 67008d16028ceb201c6102ce4b6cac52b4d3cc96 /lib/libfetch | |
| parent | 8ff2bd98d6cfbac2c2177ad622e4f86c79b04f56 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch')
| -rw-r--r-- | lib/libfetch/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index 3f8ef3b36325..38a0672f7db5 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -1110,6 +1110,8 @@ fetch_writev(conn_t *conn, struct iovec *iov, int iovcnt) errno = 0; pfd.revents = 0; if (poll(&pfd, 1, deltams) < 0) { + if (errno == EAGAIN) + continue; if (errno == EINTR && fetchRestartCalls) continue; return (-1); |
