Workaround for servers that ignore byte ranges when using chunked

encoding.

MFC after:	3 days
This commit is contained in:
Dag-Erling Smørgrav 2004-04-06 12:24:26 +00:00
parent 934cf0a3a5
commit 3d49384208

View file

@ -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;