1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127941

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;