diff --git a/src/ngx_http_accounting_worker_process.c b/src/ngx_http_accounting_worker_process.c index 87ed7cb..53abd9e 100644 --- a/src/ngx_http_accounting_worker_process.c +++ b/src/ngx_http_accounting_worker_process.c @@ -154,6 +154,7 @@ worker_process_write_out_stats(u_char *name, size_t len, void *val, void *para1, ); stats->nr_requests = 0; + stats->bytes_in = 0; stats->bytes_out = 0; for (i = 0; i < http_status_code_count; i++) {