[Bug 222136] [regression] [zlib] [patch] embedded Tomcat web server gzip compression broken after latest zlib import
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 8 10:29:38 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222136
Bug ID: 222136
Summary: [regression] [zlib] [patch] embedded Tomcat web server
gzip compression broken after latest zlib import
Product: Base System
Version: 11.1-STABLE
Hardware: Any
OS: Any
Status: New
Keywords: patch, regression
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: eugen at freebsd.org
Keywords: patch, regression
Created attachment 186164
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186164&action=edit
upstream fix for deflate.c
I've just upgraded my FreeBSD 11.0 server upto recent 11.1-STABLE without
touching other software. The server runs UniFi Controller containing embedded
Tomcat web server that uses gzip to compress HTML responses.
After FreeBSD upgrade, it started producing broken gzip stream and "curl -vvvv
--compress localhost:8880/guest/s/default/" confirms that complaining "Error
while processing content unencoding: invalid block type".
The problem is exactly the same described in
https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1692870 that points to the
upstream fix:
https://github.com/madler/zlib/commit/f9694097dd69354b03cb8af959094c7f260db0a1#diff-766e4159febe3390b2e58127d6c973d3
that I've attached to this PR (deflate.c part, without comment part in zlib.h)
This patch fixes the problem.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list