#34071 [Opn->Fbk]: buffering is destroyed when using ob_gzhandler and ob_clean
| From: | sniper@php.net | Date: | Thu, 11 Aug 2005 21:12:46 +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-83408@lists.php.net to get a copy of this message | ||
ID: 34071
Updated by: sniper@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:
1) Check your php.ini settings (how they differ to whatever you used as
base for your php.ini, -dist or -recommended)
2) Set error_reporting to E_ALL and try again..
Previous Comments:
------------------------------------------------------------------------
[2005-08-11 20:54:56] dennis at nocertainty dot com
I found someone else who has the same problem as me:
http://www.sitepoint.com/forums/showpost.php?p=2093119&postcount=5
However, I can't find any specific information. I looked through my
Apache error log, and the only thing I found was:
[Wed Aug 10 18:59:56 2005] [error] [client 127.0.0.1] request failed:
erroneous characters after protocol string: \\xff\\xfb\\x1f\\xff\\xfb
\\xff\\xfb\\x18\\xff\\xfb'\\xff\\xfd\\x01\\xff\\xfb\\x03\\xff\\xfd\\x03GET
/gzip2.php HTTP/1.0
[Wed Aug 10 19:00:21 2005] [error] [client 127.0.0.1] request failed:
erroneous characters after protocol string: \\xff\\xfb\\x1f\\xff\\xfb
\\xff\\xfb\\x18\\xff\\xfb'\\xff\\xfd\\x01\\xff\\xfb\\x03\\xff\\xfd\\x03GET
/gzip2.php HTTP/1.0
But I'm not sure if that's entirely relevant. But there's nothing more
that's related to it.
------------------------------------------------------------------------
[2005-08-10 20:12:21] tony2001@php.net
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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