News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mike's Blog:
PECL HTTP module - A nasty bug and a new example
December 07, 2005 @ 07:58:43

From Mike's blog today, he has this post that looks at the PECL::HTTP extension and a "nasty bug" he's fixed.

I just fixed a nasty bug which caused GZIP encoded files (speak tgz etc.) to be decoded. While it'll just eat some memory on a 200 response (besides that the body is not what one would expect), it'll eat all memory on 206 (partial content) responses because the part is fed through zlib. I'll just need to revisit the HTTP RFC to check if checking for the "Vary" response header is the best bet before I drop the new release.

Also included in the post is an example script covering how one can download large files with the same, corrected extension...

0 comments voice your opinion now!
PECL HTTP nasty bug PECL HTTP nasty bug


blog comments powered by Disqus

Similar Posts

Community News: Latest PECL Releases for 07.18.2006

Community News: Latest PECL Releases for 05.22.2007

Zend Developer Zone: Announcing the April 2011 Zend Framework Bug-Hunt

DZone.com: File Path Injection in PHP <= 5.3.6 File Update (CVE 2011-2202)

Zend Developer Zone: Working with RAR, LZF and BZ2 Compression Formats in PHP


Community Events

Don't see your event here?
Let us know!


php7 symfony2 api composer configure performance series example opinion conference introduction part2 podcast framework community voicesoftheelephpant laravel application interview release

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework