Bug #71730 [Fbk->NoF]: compression fails
| From: | php-bugs at lists dot php dot net | Date: | Sun, 01 Aug 2021 04:22:14 +0000 |
| Subject: | Bug #71730 [Fbk->NoF]: compression fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235506@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71730&edit=1
ID: 71730
Updated by: php-bugs@lists.php.net
Reported by: wowkise at gmai dot com
Summary: compression fails
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Output Control
Operating System: ubuntu
PHP Version: 7.2
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-07-20 11:55:31] cmb@php.net
> the output_compression shouldn't have been sent, as there is an
> output before it
I don't think so. Check the INI setting output_buffering[1] which
likely buffered the var_dump() output, so that headers_sent()
correctly returned true.
[1] <https://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering>
------------------------------------------------------------------------
[2018-07-07 16:08:15] spam2 at rhsoft dot net
anyways, zlib.output_compression is a bad idea!
other than apaches mod_defalte it don't take the client headers if it supports compression at
all into account
------------------------------------------------------------------------
[2018-07-07 15:51:13] wowkise at gmail dot com
rhsoft, you are correct what i meant is that headers_sent() check should have returned true as there
was content that was sent, therefore headers cant be send anymore.
------------------------------------------------------------------------
[2018-06-14 11:26:03] spam2 at rhsoft dot net
"the headers get sent anyway regardless if there is content before" is technically wrong -
they can't after the first body char and the problem is that compression happens even if
sending the header fails - so the client get compressed content which was not announced
------------------------------------------------------------------------
[2018-06-14 11:19:07] mike@php.net
Verified
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=71730
--
Edit this bug report at https://bugs.php.net/bug.php?id=71730&edit=1