From users-return-220655-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Thu Jan 06 21:44:58 2011 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 49128 invoked from network); 6 Jan 2011 21:44:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2011 21:44:58 -0000 Received: (qmail 21657 invoked by uid 500); 6 Jan 2011 21:44:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 21510 invoked by uid 500); 6 Jan 2011 21:44:55 -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 21496 invoked by uid 99); 6 Jan 2011 21:44:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 21:44:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of goberman@msn.com designates 65.54.190.88 as permitted sender) Received: from [65.54.190.88] (HELO bay0-omc2-s13.bay0.hotmail.com) (65.54.190.88) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 21:44:47 +0000 Received: from BAY146-W30 ([65.54.190.125]) by bay0-omc2-s13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 6 Jan 2011 13:44:26 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_2b7f8571-05eb-4372-b2ca-6c3c871cff7f_" X-Originating-IP: [209.120.151.138] From: ilya goberman To: Subject: RE: How to disable chunked encoding for the Http11NioProtocol connector. Date: Thu, 6 Jan 2011 15:44:25 -0600 Importance: Normal In-Reply-To: <4D263570.5010608@christopherschultz.net> References: ,<4D240C3A.9070806@apache.org> ,<4D249E7C.7090403@apache.org> ,<4D24B06D.1000804@apache.org> ,<4D25F805.9010503@christopherschultz.net> ,<4D262F54.2090501@christopherschultz.net> ,<4D263570.5010608@christopherschultz.net> MIME-Version: 1.0 X-OriginalArrivalTime: 06 Jan 2011 21:44:26.0023 (UTC) FILETIME=[E374DB70:01CBADEA] X-Virus-Checked: Checked by ClamAV on apache.org --_2b7f8571-05eb-4372-b2ca-6c3c871cff7f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Got it=2C thanks > Date: Thu=2C 6 Jan 2011 16:34:40 -0500 > From: chris@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: How to disable chunked encoding for the Http11NioProtocol co= nnector. >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Ilya=2C >=20 > On 1/6/2011 4:17 PM=2C ilya goberman wrote: > > OK. All I wanted to say is that disabling keepAlive across the board > > is not necessary. >=20 > Nobody is suggesting that. >=20 > > If keepAlive can be applies to a single response > > (and to be honest I am not sure it is possible)=2C it is fine. >=20 > Of course it can: headers can be set on a per-response basis. Otherwise= =2C > stuff like Content-Type and Content-Length would never work. >=20 > > I was under impressing that the only way to disable keep alive is > > globally via: maxKeepAliveRequests=3D"1" in server.xml >=20 > That's obviously the wrong approach. >=20 > File another enhancement request to allow configuration to let client > and/or server use of "Connection:close" to disable chunked response > encoding and I'm sure Mark won't mark it as INVALID or WONTFIX. >=20 > It's possible nobody will actually submit a patch for it any time soon=2C > but you are free to do so. Enhancement requests with accompanying > patches are much more likely to be fixed. =3B) >=20 > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >=20 > iEYEARECAAYFAk0mNXAACgkQ9CaO5/Lv0PCsPACfQpD5JEO8QEDyoaQQFg2TqN7f > 3+MAn3N/RJa+j63Wp67tJL5Tw3J6twrY > =3Du9Rn > -----END PGP SIGNATURE----- >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > For additional commands=2C e-mail: users-help@tomcat.apache.org >=20 = --_2b7f8571-05eb-4372-b2ca-6c3c871cff7f_--