summaryrefslogtreecommitdiff
path: root/src/request.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-07-31 03:43:19 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-10-03 09:05:38 -0400
commitafc2025d8edba323453033dadf10469011ddcf8a (patch)
tree30c667c8b97a851386464c47712eda81e0313f4e /src/request.h
parent8eea3bd014efefd0258f43e7b18e12574ed1bb08 (diff)
downloadlighttpd-git-afc2025d8edba323453033dadf10469011ddcf8a.tar.gz
[core] reset connection counters per connection
reset connection counters per connection, not per request adjust mod_accesslog and mod_rrdtool usage continue to count mod_rrdtool per request rather than per connection so that data is updated after each request, rather than aggregated to the end of a potentially long-lived connection with many keep-alives.
Diffstat (limited to 'src/request.h')
-rw-r--r--src/request.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/request.h b/src/request.h
index ca8a3053..adaf7570 100644
--- a/src/request.h
+++ b/src/request.h
@@ -178,6 +178,8 @@ struct request_st {
buffer *tmp_buf; /* shared; same as srv->tmp_buf */
response_dechunk *gw_dechunk;
+ off_t bytes_written_ckpt; /* used by mod_accesslog */
+ off_t bytes_read_ckpt; /* used by mod_accesslog */
struct timespec start_hp;
time_t start_ts;