Disable range requests if the origin ignores byte-range.
Use the non-linearized PDF code path if the server doesn't respond to range requests with a partial response. Previously, Chrome entered a request loop if the PDF was linearized and the server advertized byte range support but responded with a 200 code instead of 206. BUG=587502 R=thestig@chromium.org TEST=Load https://www.usenix.org/legacy/publications/library/proceedings/sec96/full_papers/goldberg/goldberg.pdf Review URL: https://codereview.chromium.org/1705353002 Cr-Commit-Position: refs/heads/master@{#376053}
Showing
Please register or sign in to comment