diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-31 03:43:19 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-10-03 09:05:38 -0400 |
commit | afc2025d8edba323453033dadf10469011ddcf8a (patch) | |
tree | 30c667c8b97a851386464c47712eda81e0313f4e /src/request.h | |
parent | 8eea3bd014efefd0258f43e7b18e12574ed1bb08 (diff) | |
download | lighttpd-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.h | 2 |
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; |