Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 91705 invoked from network); 16 May 2007 11:28:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 11:28:20 -0000 Received: (qmail 14039 invoked by uid 500); 16 May 2007 11:28:21 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 13994 invoked by uid 500); 16 May 2007 11:28:21 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 13983 invoked by uid 99); 16 May 2007 11:28:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 04:28:21 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jfclere@gmail.com designates 66.249.82.228 as permitted sender) Received: from [66.249.82.228] (HELO wx-out-0506.google.com) (66.249.82.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 04:28:13 -0700 Received: by wx-out-0506.google.com with SMTP id i26so147037wxd for ; Wed, 16 May 2007 04:27:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=Yeyh6/70dGS4Q0RUIktPsjl6ujv6mry5CMbPcNR3tqjTvrH65IsIl0QJfdudQlRKGLZEipC08/BgpbKgmYfEzLd1xocS8rh2Xs824oDwCs1SqtVdb+FrYvEc2HdB/LO0flk2k0S0NxxMz4D8zBok1MEl1TFcdpWYxoqHQ42eZ0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=CDDTl8vk9tSG/ltGOVk8PEp1oQ7IK6mCVL54LGFHE98snpbLlTvpPytMTuZr3vDHqbUwzdXN03DHxE9p+IWielfRea0R/OoesVnmzJJHZuuuU5GdTQjIWAkoH9bMGy2QIJ/alWZrcusUZngvsl6PeXV25yMAjo0WU/FjbTJlXoA= Received: by 10.90.36.3 with SMTP id j3mr7737393agj.1179314872623; Wed, 16 May 2007 04:27:52 -0700 (PDT) Received: from ?192.168.4.143? ( [212.249.12.130]) by mx.google.com with ESMTP id 3sm3124347wrs.2007.05.16.04.27.50; Wed, 16 May 2007 04:27:51 -0700 (PDT) Subject: Re: More on i5/OS and some modifications needed From: Jean-Frederic To: Tomcat Developers List In-Reply-To: <6291fc850705160117v284b69bbo56f0b5bc6a5c564e@mail.gmail.com> References: <3iGbeK7K29xXqpTGf302BA6QWrBhemCTbwRoOY5aUrS@akmail> <6291fc850704231508o7b5bd5eaofb4942ceec3a48e8@mail.gmail.com> <6291fc850704240201m6e076c9chdb849efd36e8d9ba@mail.gmail.com> <462DCFCF.2040405@kippdata.de> <6291fc850704240301y521a60d1q464f8ab51de8a147@mail.gmail.com> <6291fc850704240315g30173979nd55131d7c9a05a3c@mail.gmail.com> <462DFFFB.4020801@kippdata.de> <6291fc850704240616y7a72088bv1fa2ab342918ca3a@mail.gmail.com> <6291fc850705160117v284b69bbo56f0b5bc6a5c564e@mail.gmail.com> Content-Type: text/plain Date: Wed, 16 May 2007 13:28:40 +0200 Message-Id: <1179314920.3824.20.camel@jfcpc> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, 2007-05-16 at 10:17 +0200, Henri Gomez wrote: > 2007/4/24, Henri Gomez : > > 2007/4/24, Rainer Jung : > > > The flag is about the response body. We send the response back via a > > > webserver specific method. It's ws_write() ind mod_jk.c. > > > > > > ws_write() calls e.g. ap_rwrite() which should in my opinion set > > > sent_bodyct. I'm careful about that, because I don't fully understand > > > the filter architecture involved. The ap_http_header_filter sets the sent_bodyct. If I get it right ap_http_header_filter is called by ap_pass_brigade that is called by ap_rwrite in ws_write() In 1.3 it is set in ap_send_http_header() that we call in mod_jk.c (ws_start_response). > > > > > > But ws_write() also contains iSeries specific code. Maybe some of those > > > methods fail. You can log p->r->sent_bodyct inside ws_write and also add > > > some debug log to find out, if it stopps prematurely. Especially > > > ap_change_response_body_xlate() does not seem to be part of standard > > > apache code. No idea, if that has an interaction bug with filters. > > > > No more, we're is AS400_UTF8 mode so the ws_write in i5/OS and Linux > > is the same... > > > > Did you heard about problem with sent_bodyct problem on others platform ? > > BTW, what about the BZ 41563 > (http://marc.info/?l=tomcat-dev&m=117089564901077&w=2) and proposed > patch ? +1 to apply it. Cheers Jean-Frederic > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org