| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
As described in RFC 1952, section 2.3.1, the XFL (eXtra FLags) byte of a gzip member header should indicate whether the DEFLATE algorithm was tuned for speed or compression ratio. Prior to this patch, archives emitted by the `gzip` module always indicated maximum compression. (cherry picked from commit eab3b3f) Co-authored-by: William Chargin <wchargin@gmail.com>
|
@wchargin and @serhiy-storchaka: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
@wchargin and @serhiy-storchaka: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
@wchargin and @serhiy-storchaka: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
This change implements a fix to compression in gzip tool that CPython applied per https://bugs.python.org/issue39389. It uses proper XFL value in gzip header per https://tools.ietf.org/html/rfc1952, section 2.3.1. Refs: * python/cpython#18077 (CPython 3.9.0+) * python/cpython#18100 (CPython 3.8.2+) * python/cpython#18101 (CPython 3.7.7+) Fixes #1849
This change implements a fix to compression in gzip tool that CPython applied per https://bugs.python.org/issue39389. It uses proper XFL value in gzip header per https://tools.ietf.org/html/rfc1952, section 2.3.1. Refs: * python/cpython#18077 (CPython 3.9.0+) * python/cpython#18100 (CPython 3.8.2+) * python/cpython#18101 (CPython 3.7.7+) Fixes #1849 (cherry picked from commit 3925ae9)
| Back | FazBrowse Home | New Git URL |
As described in RFC 1952, section 2.3.1, the XFL (eXtra FLags) byte of a
gzip member header should indicate whether the DEFLATE algorithm was
tuned for speed or compression ratio. Prior to this patch, archives
emitted by the gzip module always indicated maximum compression.
(cherry picked from commit eab3b3f)
Co-authored-by: William Chargin wchargin@gmail.com
https://bugs.python.org/issue39389