-[Tue Jun 14 20:19:34 2005] Script: 'tests/HttpRequestPool_001.php'
----------------------------------------
-/home/mike/dev/cvs/pecl/http/http_request_api.c(184) : Block 0x082919EF status:
-Beginning: Overrun (magic=0x12F8DC00, expected=0x7312F8DC)
- End: Unknown
----------------------------------------
-[Tue Jun 14 20:19:34 2005] Script: 'tests/HttpRequestPool_001.php'
----------------------------------------
-/home/mike/dev/cvs/pecl/http/http_request_api.c(184) : Block 0x08291BE7 status:
-Beginning: Overrun (magic=0x12F8DC00, expected=0x7312F8DC)
- End: Unknown
----------------------------------------
-[Tue Jun 14 20:19:34 2005] Script: 'tests/HttpRequestPool_001.php'
----------------------------------------
-/home/mike/dev/cvs/pecl/http/http_request_api.c(184) : Block 0x08291D3F status:
-Beginning: Overrun (magic=0x12F8DC00, expected=0x7312F8DC)
- End: Unknown
----------------------------------------
-/home/mike/dev/cvs/pecl/http/http_request_api.c(156) : Freeing 0x08291D68 (36 bytes), script=tests/HttpRequestPool_001.php
-Last leak repeated 2 times
-=== Total 3 memory leaks detected ===
+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.
+ Using an encoding stream filter on a stream you read from, will
+not work as expected in a PHP version lower than 5.1.3.