aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-03-19 15:29:52 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-03-19 15:29:52 -0400
commitc5744340db2d55a95743c93f55e47869317b4c95 (patch)
tree9acbceb1a01cdbebfe1f3431f5f14715e39fa68f /lib
parente66109c1e3ce97d39114b67b30b8d2da2c793f11 (diff)
easy: Remove poll failure check in easy_transfer
.. because curl_multi_wait can no longer signal poll failure. follow-up to 77e1726 Bug: https://github.com/curl/curl/issues/707
Diffstat (limited to 'lib')
-rw-r--r--lib/easy.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/easy.c b/lib/easy.c
index b047dbc19..caab2629a 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -703,12 +703,7 @@ static CURLcode easy_transfer(CURLM *multi)
mcode = curl_multi_wait(multi, NULL, 0, 1000, &ret);
if(mcode == CURLM_OK) {
- if(ret == -1) {
- /* poll() failed not on EINTR, indicate a network problem */
- result = CURLE_RECV_ERROR;
- break;
- }
- else if(ret == 0) {
+ if(ret == 0) {
struct timeval after = curlx_tvnow();
/* If it returns without any filedescriptor instantly, we need to
avoid busy-looping during periods where it has nothing particular