jrgp/linfo

ERR_CONTENT_DECODING_FAILED on windows

JohnAdib opened this issue · 4 comments

Hi
Its better to add some documentation about running on windows!

I have ERR_CONTENT_DECODING_FAILED error and after some search found that is because force gzip on linfo.

By enable zlib.output_compression in php.ini its working. but maybe it's better to describe this or disable force gzip in request header.

jrgp commented

Probably would be a good idea to use init_get() or similar to evaluate the value of zlib.output_compression at runtime to decide whether to do ob_start with the ob_gzhandler method. Or maybe don't use ob_gzhandler at all and find some other way of doing it depending on what the client requests.

For me, in my setups, nginx is responsible for gzip - and I don't see a reason why PHP should do this. It will/could lead to a double work cause nginx have to stay with this setting for css, js and image files.

jrgp commented

Should be fixed per a2c8662

Please confirm.

yep;)
fixed, thanks.