ID:               45203
 User updated by:  e dot ehritt at web dot de
 Reported By:      e dot ehritt at web dot de
-Status:           Wont fix
+Status:           Open
 Bug Type:         Zlib Related
 Operating System: other
 PHP Version:      5.2.6
 New Comment:

It works now. Thanks, but why you fix it this way?

zlib.c

Use php_enable_output_compression() as standard out put only and put
all HTTP staff into it call it from PHP_FUNCTION(ob_gzhandler). Status
now is functionally a dupe of code lines:

970 -> 987 and 1059 -> 1075


Previous Comments:
------------------------------------------------------------------------

[2008-06-11 17:35:44] e dot ehritt at web dot de

Last time when I brought you a patch the result was no fixing. Your
reaction: Deleting the bug report and avoiding the problem own year
later.

And now I, sorry _I_, have to turn to mike to help you again? I hope
you are able to pick up my e-mail address form the messages, if you are
interested getting a fix.

All is said.

------------------------------------------------------------------------

[2008-06-10 23:35:06] j...@php.net

Feel free to provide a patch. Otherwise -> Wont fix. 
Do not reopen this before discussing with m...@php.net about it..

------------------------------------------------------------------------

[2008-06-10 10:54:07] e dot ehritt at web dot de

May you have kindness and have a look at source code? Thanks!

Now hander ob_gzhander sends the HTTP header. It shows you: It is
possible to merge into 5.2. You are able to do so as well.

------------------------------------------------------------------------

[2008-06-09 08:47:21] j...@php.net

And as was mentioned in bug #40325, it was fixed in HEAD (as in: PHP 6)
but the fix was not possible to be merged to 5.2 branch.

------------------------------------------------------------------------

[2008-06-07 17:07:16] e dot ehritt at web dot de

Description:
------------
If configuration of zlib.output_compression
zlib.output_compression_level is seeded in a php.ini, not at all there
are a header "Vary". RFC 2616 section 14.44 requires own.

It is the same problem as discribe in http://bugs.php.net/40325
ob_start('ob_gzhander') is not the only way to start output
compression.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45203&edit=1

Reply via email to