]> 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)
commit816177d6ecd19c83852f6260493785d9de6b0a84
tree14c5fbc0f17974911e283503780da2adfd84d329
parent9cfaf13dada6bbfb5fb40652688d3ffb32d6e8e6
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