Welcome! Log In Create A New Profile

Advanced

[PHP-DEV] [RFC] Expose more zlib inflate info to userspace

Posted by Matthew Trescott 
Matthew Trescott
[PHP-DEV] [RFC] Expose more zlib inflate info to userspace
March 13, 2017 03:10AM
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
Matthew Trescott
Re: [PHP-DEV] [RFC] Expose more zlib inflate info to userspace
March 21, 2017 03:10PM
Hi,

I'd like to get some feedback for my pull request:
https://github.com/php/php-src/pull/2338. It allows finding the length of
zlib compressed data when it's prepended to arbitrary data. Please comment.

Thanks,
Matthew
Sorry, only registered users may post in this forum.

Click here to login