Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2017 10:29:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222136] [regression] [zlib] [patch] embedded Tomcat web server gzip compression broken after latest zlib import
Message-ID:  <bug-222136-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222136

            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@FreeBSD.org
          Reporter: eugen@freebsd.org
          Keywords: patch, regression

Created attachment 186164
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186164&action=
=3Dedit
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 embedd=
ed
Tomcat web server that uses gzip to compress HTML responses.

After FreeBSD upgrade, it started producing broken gzip stream and "curl -v=
vvv
--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/f9694097dd69354b03cb8af959094c7f260db=
0a1#diff-766e4159febe3390b2e58127d6c973d3
that I've attached to this PR (deflate.c part, without comment part in zlib=
.h)

This patch fixes the problem.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222136-8>