[RFC] Expose more zlib inflate info to userspace
| From: | Matthew Trescott | Date: | Mon, 13 Mar 2017 01:58:43 +0000 |
| Subject: | [RFC] Expose more zlib inflate info to userspace | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98513@lists.php.net to get a copy of this message | ||
Hi,
I wrote a small patch to the zlib extension to expose more inflate status
information. It lets you figure out the length of compressed data when it's
prepended to something else. The pull request is here:
https://github.com/php/php-src/pull/2338. The
actual changes are not large;
mostly just tests for the two added functions. I've included documentation
that could go on php.net too.
Maybe I could get some opinions as to whether this could be merged? I'm
posting here as @krakjoe suggested since there wasn't much feedback on
GitHub.
Thanks,
Matthew