Skip to content
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

Update the version of brotli used in the network code #14681

Closed
danielrh opened this issue Dec 22, 2016 · 1 comment
Closed

Update the version of brotli used in the network code #14681

danielrh opened this issue Dec 22, 2016 · 1 comment
Labels

Comments

@danielrh
Copy link

@danielrh danielrh commented Dec 22, 2016

There is a rare issue that could cause the brotli 1.0.6 crate to fail to decode a valid brotli file downloaded with server-side brotli compression enabled. The bug stemmed from break failing to exit the outer for loop when a series of C gotos were converted into rust switches/loops

The issue has been resolved in 1.0.7 and 1.0.7 has been successfully tested on over 10 million files with a large variety of brotli compressor settings.

it would be ideal to bump the crate version servo uses from 1.0.6 to 1.0.7 in this file

brotli = "1.0.6"

to the newest here
https://crates.io/crates/brotli

@highfive
Copy link

@highfive highfive commented Dec 22, 2016

Please make a comment here if you intend to work on this issue. Thank you!

@jdm jdm changed the title Linking to outdated brotli crate version Update the version of brotli used in the network code Dec 22, 2016
bors-servo added a commit that referenced this issue Dec 23, 2016
Update various crates.

Fixes #14681.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14687)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 24, 2016
Update various crates.

Fixes #14681.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14687)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.