[Bug 63863] New: OutputFilter of Includes AND Deflate results in browser failing to load response body

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 63863] New: OutputFilter of Includes AND Deflate results in browser failing to load response body

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63863

            Bug ID: 63863
           Summary: OutputFilter of Includes AND Deflate results in
                    browser failing to load response body
           Product: Apache httpd-2
           Version: 2.4.41
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_mime
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

I am having problems with filters provided by mod_mime, Apache 2.4.41o. No
errors are reported in the apache log files.
The problem is that when using includes and deflate together Chromium fails to
load the response body.

Testing the follow:

AddOutputFilter INCLUDES htm html

Works content is not gzipped.

AddOutputFilter DEFLATE htm html

Works content is gzipped but includes not processed.

AddOutputFilter INCLUDES;DEFLATE htm html

Results in browser failing to load response body. A 200 response is reported by
both Apache and Chrome dev tools, all headers look good but body fails to load.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63863] OutputFilter of Includes AND Deflate results in browser failing to load response body

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63863

--- Comment #1 from Christophe JAILLET <[hidden email]> ---
Hi,

did you tried with another browser?
Why do you think mod_mime is involved? (you only speak of INCLUDES and DEFLATE)

With wget, it works as expected on Ubuntu with 2.4.41

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63863] OutputFilter of Includes AND Deflate results in browser failing to load response body

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63863

--- Comment #2 from Barry Pearce <[hidden email]> ---
Fails with Chromium Version 78.0.3904.70 (Official Build) Arch Linux (64-bit).
Results in blank screen. Dev tools on Network show error.

Fails with Firefox 70.0, released October 22, 2019.

Shows
"Content Encoding Error
An error occurred during a connection to example.com.
    Please contact the web site owners to inform them of this problem."

Both running on Manjaro - fully up to date system.


Fails with Opera Version:64.0.3417.54, Update stream:Stable, System:Manjaro
Linux (x86_64; KDE)
Results in blank screen. Dev tools on Network show error.


The problem is logged with mod_mine because AddOutputFilter is part of the
mod_mime package according to the Apache 2.4 documentation.
https://httpd.apache.org/docs/2.4/mod/mod_mime.html

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63863] OutputFilter of Includes AND Deflate results in browser failing to load response body

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63863

--- Comment #3 from Barry Pearce <[hidden email]> ---
I can confirm that wget of the same url works, and examining the contents on
the disk is correct.

There is clearly a behavioural difference between wget and the web browsers.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]