[php-src] PR #14321: Fix bug #47925: PHPClient can't decompress response (transposed uncompress methods?)

From: Date: Sat, 25 May 2024 14:19:35 +0000
Subject: [php-src] PR #14321: Fix bug #47925: PHPClient can't decompress response (transposed uncompress methods?)
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26305@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14321 Author: nielsdos The incorrect functions are being called to deal with incoming compressed data. gzip/x-gzip corresponds to gzuncompress(), while deflate corresponds to gzinflate(). The existing code for gzip compression also plays with removing the first 10 bytes (i.e. the gzip header) to pass it to the inflate implementation but that doesn't always work properly due to trailer data. Get rid of that entirely by using the correct functions.

« previous php.git-pulls (#26305) next »