#34071 [Opn->Fbk]: buffering is destroyed when using ob_gzhandler and ob_clean

From: Date: Wed, 10 Aug 2005 18:12:22 +0000
Subject: #34071 [Opn->Fbk]: buffering is destroyed when using ob_gzhandler and ob_clean
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-83338@lists.php.net to get a copy of this message
ID: 34071 Updated by: tony2001@php.net Reported By: dennis at nocertainty dot com -Status: Open +Status: Feedback Bug Type: Output Control Operating System: Windows XP SP2 PHP Version: 5CVS-2005-08-10 (dev) New Comment: Then provide more info about it; look into the apache logs; try on another server and with another PHP version etc etc. As I've already said, it works perfectly here. Previous Comments: ------------------------------------------------------------------------ [2005-08-10 19:47:05] dennis at nocertainty dot com Also, I disabled PHP4 in my http.conf file, and it still doesn't work properly in PHP5Dev. So I still believe there's a bug in PHP5. ------------------------------------------------------------------------ [2005-08-10 19:44:50] dennis at nocertainty dot com Rasmus is right. The telnet thing works because ob_gzhandler doesn't do anything. As soon as a specify a Content-Encoding: gzip header, nothing gets displayed again. So it's not my browser that's causing the problem. ------------------------------------------------------------------------ [2005-08-10 19:21:08] tony2001@php.net Not PHP problem then. ------------------------------------------------------------------------ [2005-08-10 19:20:43] rasmus@php.net That's not a very good test since ob_gzhandler checks the request's accept-encoding and since your telnet test didn't specify that you could accept gzip or deflate, then the gzhandler simply didn't do anything. ------------------------------------------------------------------------ [2005-08-10 19:03:27] dennis at nocertainty dot com You're right, that works, and I get the correct result. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34071 -- Edit this bug report at http://bugs.php.net/?id=34071&edit=1

« previous php.bugs (#83338) next »