On Wed, 2007-05-16 at 10:17 +0200, Henri Gomez wrote:
> 2007/4/24, Henri Gomez <[EMAIL PROTECTED]>:
> > 2007/4/24, Rainer Jung <[EMAIL PROTECTED]>:
> > > 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to