Skip to content

Commit

Permalink
bugfix: stats->bytes_in should be reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Lax committed Sep 11, 2014
1 parent 0234151 commit e9fbb34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ngx_http_accounting_worker_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit e9fbb34

Please sign in to comment.