-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure that a missing/invalid "Content-Range" header is handled in PDFNetworkStream
(issue 19075)
#19114
Conversation
ef75d0a
to
57b753b
Compare
/botio unittest |
57b753b
to
ecc2468
Compare
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/d10bfa9b6850d84/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/1f743ff258c87ab/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/d10bfa9b6850d84/output.txt Total script time: 2.61 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/1f743ff258c87ab/output.txt Total script time: 6.80 mins
|
ecc2468
to
371fba0
Compare
371fba0
to
d2ed0ba
Compare
/botio unittest |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/8cb9437d587ec58/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/44108eb8ff43b32/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/44108eb8ff43b32/output.txt Total script time: 2.52 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/8cb9437d587ec58/output.txt Total script time: 6.94 mins
|
d2ed0ba
to
27beb9d
Compare
…DFNetworkStream` (issue 19075) In the event that the "Content-Range" header is missing/invalid, loading will now be aborted rather than hanging indefinitely.
This helps ensure that loading errors are always handled correctly, and note that both `PDFNetworkStreamFullRequestReader` and `PDFNetworkStreamRangeRequestReader` already provided such a callback.
27beb9d
to
eff8ede
Compare
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/e79f19a48093145/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/acfda51ce3f7fd9/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/e79f19a48093145/output.txt Total script time: 2.51 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/acfda51ce3f7fd9/output.txt Total script time: 6.87 mins
|
/botio unittest |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/7d3655d00bc332f/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/4954854b64557c8/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/4954854b64557c8/output.txt Total script time: 2.52 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/7d3655d00bc332f/output.txt Total script time: 6.59 mins
|
…g/invalid "Content-Range" header` unit-test (PR 19114 follow-up) Implements mozilla#19114 (comment), which didn't seem necessary at the time since the unit-tests passed (many times) in PR 19114.
In the event that the "Content-Range" header is missing/invalid, loading will now be aborted rather than hanging indefinitely.