Workaround for servers that ignore byte ranges when using chunked

encoding.

MFC after:	3 days
This commit is contained in:
des 2004-04-06 12:24:26 +00:00
parent a7defb3546
commit 1a789b31d8

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;