mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
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
Block a user