-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add HTTP compression #5299
Add HTTP compression #5299
Conversation
Critic review: https://critic.hoppipolla.co.uk/r/4320 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
Nice work! I've left a few comments on Critic. |
Two small issues left :) |
Go ahead and squash these changes! |
Ok got it. |
The latter is from the CEF build, which can be replicated using |
@jdm So the response-data-gzip.htm test passed but it was expected to fail? Also I don't quite understand what is happening with the CEF build err. |
The test failure is because the test is currently annotated to fail in Servo right now (http://mxr.mozilla.org/servo/source/tests/wpt/metadata/XMLHttpRequest/response-data-gzip.htm.ini), and your changes invalidate that. You should remove that ini file now, since it contains no more test annotations once removing this one. As for the CEF error, that's... mysterious. |
Are you able to build CEF on master successfully? i.e. are you able to reproduce that failure locally? |
I can reproduce the failure on my branch locally. |
Me too, and strangely enough the flate2-rs clone that Cargo downloaded doesn't contain the miniz-sys folder that's present in https://github.com/alexcrichton/flate2-rs/tree/88cb8cfc12bd5990d846851482b83450822f8703 . I'm super confused. |
Aha, I figured it out! For some reason the cef/Cargo.lock uses a version of flate2 that depends on miniz-sys 0.1.4, whereas all of the other ones use miniz-sys 0.1.3. If you use |
@jdm It should work now. |
No description provided.