]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_logio modification: count bytes-sent after the writev or sendfile
authorBrian Pane <brianp@apache.org>
Fri, 25 Oct 2002 06:52:02 +0000 (06:52 +0000)
committerBrian Pane <brianp@apache.org>
Fri, 25 Oct 2002 06:52:02 +0000 (06:52 +0000)
commitb2b9d95594cc17850e3c3d3aee45a54449fe5320
tree14c5fbc0f17974911e283503780da2adfd84d329
parent03569aa58f57bd2c237582204a9658d84d7fdbc1
mod_logio modification: count bytes-sent after the writev or sendfile
call in the core_output_filter, in order to get a more accurate count
of the total bytes transmitted in cases where the client terminates
the connection before the entire response is sent.

Note: This works by adding a flush bucket to each response when
mod_logio is used; the side-effect is that pipelined responses
get broken up into separate network writes per request (but there's
no impact on pipelining when mod_logio is not enabled).

Submitted by: Bojan Smojver <bojan@rexursive.com>
Reviewed by: Brian Pane

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97300 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/http_core.h
modules/loggers/mod_logio.c
server/core.c