https://issues.apache.org/bugzilla/show_bug.cgi?id=55666
Bug ID: 55666
Summary: Not able to deflate, when enabled with SSL from
backend to reverse proxy, if receiving bytes are less
than 10
Product: Apache httpd-2
Version: 2.2.22
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_deflate
Assignee: [email protected]
Reporter: [email protected]
I have reverse proxy with backend webserver enabled with both SSL and gzip
compression.
For certain application backend webserver is sending only 1 byte of data for
first time, and then it sends around 4k of data.
Below is gdb output from mod_deflate in function "inflate_out_filter"
==============================
(gdb) p data
$6 = 0x7f3e559ef700 "\037"
(gdb) p len
$7 = 1
Second time 4495 byte comes to deflate
(gdb) p len
$10 = 4495
(gdb) p data
$11 = 0x7f3e559ef700 "\213\b"
===============================
As gzip header is 10 bytes, and first data is only 1 byte, mod_deflate is not
able to handle this, even-though next time it is sending remaining data, and
giving error as "Insufficient data for inflate"( Full log is attached) and for
second data which 4495 bytes its giving error as "Validation bytes not
present".
Application on Backend webserver works fine if disabled with SSL, and also
works fine if disabled with gzip.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]