mirror of https://github.com/moparisthebest/curl
Handle short reads
This commit is contained in:
parent
e1ab7db87d
commit
9ee7a014c9
|
@ -54,7 +54,7 @@ int test(char *URL)
|
|||
|
||||
total += iolen;
|
||||
|
||||
} while((res == CURLE_AGAIN) && (total < 129));
|
||||
} while(((res == CURLE_OK) || (res == CURLE_AGAIN)) && (total < 129));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue