From 9e9227be41f83a7dbde37c65932f8344770ed695 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 2 Jan 2006 16:04:25 +0000 Subject: [PATCH] - add note about deflate/inflate --- KnownIssues.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/KnownIssues.txt b/KnownIssues.txt index 4a84609..41fa515 100644 --- a/KnownIssues.txt +++ b/KnownIssues.txt @@ -7,6 +7,17 @@ HttpResponse class is only available for PHP >= 5.1 If you keep getting "SSL connect error" when trying to issue requests on Windows, try another (newer) libeay32.dll/ssleay32.dll pair. +Deflate/Inflate: + http_inflate() resp. the HttpInflateStream should be able to inflate +any compressed data (gzip, deflate AKA zlib and raw deflate). However, +inflating raw deflated data causes a re-initialization of the inflate +stream where the corresponding window bits are modified to tell libz +to not check for zlib header bytes. This is not preventable AFAICS. + http_deflate() resp. the HttpDeflateStream should be able to +generate any compressed data (gzip, deflate AKA zlib and raw deflate); +just use the flag for the data format you want to generate: + HTTP_DEFLATE_TYPE_GZIP, HTTP_DEFLATE_TYPE_ZLIB or HTTP_DEFLATE_TYPE_RAW. + Internals: - there's a memleak with sizeof(zval) for each thrown exception, which ends up in HttpRequestPoolExcepiont::$exceptionStack, in -- 2.30.2