Workaround for servers that ignore byte ranges when using chunked
encoding. MFC after: 3 days
This commit is contained in:
parent
a7defb3546
commit
1a789b31d8
@ -486,7 +486,7 @@ fetch(char *URL, const char *path)
|
||||
"does not match remote", path);
|
||||
goto failure_keep;
|
||||
}
|
||||
} else {
|
||||
} else if (us.size != -1) {
|
||||
if (us.size == sb.st_size)
|
||||
/* nothing to do */
|
||||
goto success;
|
||||
|
Loading…
Reference in New Issue
Block a user