mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
Workaround for servers that ignore byte ranges when using chunked
encoding. MFC after: 3 days
This commit is contained in:
parent
934cf0a3a5
commit
3d49384208
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue