You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following #3, i was thinking this was also the case for PHP (but apparently setting a window parameter change the decompression format), but you can take an example at what i have done here to handle the header / footer around the GZIP format it may be helpful :
@joelwurtz yeah, PHP already has support for the GZIP format. However, some of the known inconsistencies listed in the README could probably we worked around if we also utilize a custom GZIP format parser (in particular detecting an invalid stream). Thanks for sharing the link, certainly helps verifying our own implementation.
FWIW, the implementation is almost done, just adding some additional tests cases right now.
Note that this is already supported on all Zend PHP versions, only HHVM lacks support for ZLIB and GZIP encoding.
I still think that this feature makes perfect sense 👍 However, there are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently), but I would be really happy to accept PRs 👍
(If you need this for a commercial project and you want a quote, please check out my profile and send me an email)
Issue #3 introduced compression and decompression based on zlib stream compression filters.
This works reasonably well with some inconsistencies listed in the README.
One notable exception is HHVM support. HHVM currently only supports raw DEFLATE (de)compression and not the widespread GZIP format.
Given that GZIP is essentially a small header and footer around the actual DEFLATE body, we should look into implementing the GZIP format ourselves.
The text was updated successfully, but these errors were encountered: