On Wed, Aug 21, 2002 at 04:15:55PM -0700, Brian Pane wrote: > Bojan Smojver wrote: .. > >So, bytes_sent will continue to be the amount of body sent out only, no > >headers? If that's the case, then the only option (if we want to know > >total counts) is to introduce bytes_pushed and bytes_pulled (or similar) > >into request_rec. Does that sound feasible to you? > > > > > > That sounds reasonable, although we might end up with some data > from which it's possible to compute bytes_pushed, rather than an > actual bytes_pushed field. With the c->bytes_sent idea that Ryan > and I were just discussing, we'd probably have to keep track of > something like r->header_bytes_sent in order to properly compute > the content bytes sent for the logger. So you might end up having > to get add r->header_bytes_sent plus r->bytes_sent to get the total. > But one way or another, I think it's feasible to get the data there. :-)
lurker +1 for keeping header bytes sent different from body bytes sent, and possibly making those available separately in the log format. This sounds like the best idea so far. -Glenn
