Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 61251 invoked from network); 1 Jul 2010 15:40:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jul 2010 15:40:33 -0000 Received: (qmail 36182 invoked by uid 500); 1 Jul 2010 15:40:30 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 36021 invoked by uid 500); 1 Jul 2010 15:40:29 -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 36012 invoked by uid 99); 1 Jul 2010 15:40:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 15:40:29 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.82.249.131] (HELO mail28.messagelabs.com) (216.82.249.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 15:40:18 +0000 X-VirusChecked: Checked X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-13.tower-28.messagelabs.com!1277998788!64007467!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [192.61.61.104] Received: (qmail 21162 invoked from network); 1 Jul 2010 15:39:48 -0000 Received: from unknown (HELO USEA-NAEDGE1.unisys.com) (192.61.61.104) by server-13.tower-28.messagelabs.com with RC4-SHA encrypted SMTP; 1 Jul 2010 15:39:48 -0000 Received: from usea-nahubcas2.na.uis.unisys.com (129.224.76.115) by USEA-NAEDGE1.unisys.com (192.61.61.104) with Microsoft SMTP Server (TLS) id 8.1.393.1; Thu, 1 Jul 2010 10:39:47 -0500 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.42]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Thu, 1 Jul 2010 10:39:47 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Thu, 1 Jul 2010 10:39:45 -0500 Subject: RE: JK connector and extra characters showing up Thread-Topic: JK connector and extra characters showing up Thread-Index: AcsZMkyxSeX9pdrxSeu9qwZse94+bgAAI5pA Message-ID: <99C8B2929B39C24493377AC7A121E21F98FB7BED32@USEA-EXCH8.na.uis.unisys.com> References: <4C2BE89F.9080604@christopherschultz.net> <4C2C58F6.5010706@kippdata.de> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org > From: David Brown [mailto:captkiddo@gmail.com] > Subject: Re: JK connector and extra characters showing up >=20 > Now here's what I'm seeing. In dump A (tomcat jk) in=20 > packet 2 at line 00c0 look at the end of the line's=20 > hex. It's 03 1f f8 40. Pay attention to the 1f f8, > it shows up latter. Rainer already told you what the problem is; the webapp is violating the HT= TP spec: > > It *seems* your application sends a Content-Length header=20 > > and does chunked encoding at the same time. That's an=20 > > invalid response. Your Apache snippet shows that it clears > > that up by dropping the Content-Length header. The SunONE > > snippet shows that combination send both variants and=20 > > confuses the client. > > > > The root cause though would sit in your webapp, which needs > > to decide to send Content-Length only if it is not doing=20 > > Transfer-Encoding chunked. httpd cleans up your error, but SunONE isn't that smart. Fix your webapp. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org