FS-3803 --resolve
This commit is contained in:
parent
c54f42d793
commit
9394a70347
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue