Quoting Brian Pane <[EMAIL PROTECTED]>: > I think it's easy to solve the keepalive problem: core_output_filter() > just needs to set r->bytes_sent as soon as it sees the EOS, rather than > waiting until it writes the data. In the keepalive case, this means > updating r->bytes_sent before the code that sets aside the brigade. > > The remaining problem is: how can we identify the request_rec from > within core_output_filter()? Within that filter, f->r is NULL.
That's nasty. Is that different then core_input_filter()? Would you know if f->r is NULL in core_input_filter() as well? If yes, than we're back to square one on the number of input bytes too. I worse comes to worse, we can always add the headers up into bytes_sent and be done with it. Bojan
