FS-3803 --resolve

This commit is contained in:
Anthony Minessale 2012-01-12 14:17:23 -06:00
parent c54f42d793
commit 9394a70347
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms)
if (writefd != CURL_SOCKET_BAD) {
if (pfd[num].revents & POLLOUT)
ret |= CSELECT_OUT;
if (pfd[num].revents & POLLERR)
if (pfd[num].revents & (POLLERR|POLLHUP))
ret |= CSELECT_ERR;
}