If there are extra bytes at the end of a gzip response, ignore them.
Previously, they were passed through unaltered, which was rather unexpected. We could error out requests instead, but erroring out after successfully decoding the response body seems likely to lead to more compatibility issues than fix anything. Bug: 833729 Change-Id: I7e0948aa4d3b963f27f4c954d9576b89e963fffb Reviewed-on: https://chromium-review.googlesource.com/1015516Reviewed-by:Helen Li <xunjieli@chromium.org> Commit-Queue: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#551753}
Showing
Please register or sign in to comment