From owner-freebsd-bugs@freebsd.org Fri Sep 8 10:29:38 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C534AE0F8BA for ; Fri, 8 Sep 2017 10:29:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 620DF802D7 for ; Fri, 8 Sep 2017 10:29:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v88ATbUC085516 for ; Fri, 8 Sep 2017 10:29:37 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Fri, 08 Sep 2017 10:29:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 10:29:38 -0000 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.=