Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 12696 invoked from network); 6 Jan 2011 17:13:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2011 17:13:14 -0000 Received: (qmail 36610 invoked by uid 500); 6 Jan 2011 17:13:11 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 36572 invoked by uid 500); 6 Jan 2011 17:13:11 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 36563 invoked by uid 99); 6 Jan 2011 17:13:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 17:13:11 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.62.24] (HELO qmta02.westchester.pa.mail.comcast.net) (76.96.62.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 17:13:04 +0000 Received: from omta05.westchester.pa.mail.comcast.net ([76.96.62.43]) by qmta02.westchester.pa.mail.comcast.net with comcast id sGpw1f0040vyq2s52HCkNW; Thu, 06 Jan 2011 17:12:44 +0000 Received: from [192.168.1.201] ([69.143.109.145]) by omta05.westchester.pa.mail.comcast.net with comcast id sHCe1f00E38FjT13RHChDf; Thu, 06 Jan 2011 17:12:42 +0000 Message-ID: <4D25F805.9010503@christopherschultz.net> Date: Thu, 06 Jan 2011 12:12:37 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to disable chunked encoding for the Http11NioProtocol connector. References: ,<4D240C3A.9070806@apache.org> ,<4D249E7C.7090403@apache.org> ,<4D24B06D.1000804@apache.org> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ilya, On 1/5/2011 4:29 PM, ilya goberman wrote: > I was thinking more about it. What if Tomcat disables chunked > encoding if response contains "Connection: close" header. I think that's what Mark has suggested several times, now: On 1/5/2011 12:54 PM, Mark Thomas wrote: > As I said, an enhancement request to optionally use a non-chunked > response when keep-alive is disabled is - in my view - a reasonable > one. On 1/5/2011 4:29 PM, ilya goberman wrote: > So in order > to disable the encoding the Tomcat application will have to set just > one response header. ... and set a configuration parameter in Tomcat to enable this feature. Apparently, the feature as you describe it was a problem fixed in a previous version of Tomcat and won't be reverted unless a serious regression is identified. Mark is offering to allow configuration to re-enable this behavior. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0l+AUACgkQ9CaO5/Lv0PAFbwCeNzfxtyfbDFvvzdKekcVCkSTC FQ0AoI4kc2YFrKta7Q+TFL8Cap68fc3z =j0Ua -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org