commit | b49871738eb19b75d33d2fedab2e30927f1a70a0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Mar 18 16:28:03 2007 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Mar 18 16:28:03 2007 +0100 |
tree | 4d6ba7fa6f28e6183f81e16c9ee4e3a5d019ce3b | |
parent | a15645d4357fadaf36b2ce34229dde1c11269cbd [diff] |
[MINOR] fix accounting for response bytes A remaining reference to rep->h was replaced.
diff --git a/src/proto_http.c b/src/proto_http.c index 651ceb6..ea9ebc8 100644 --- a/src/proto_http.c +++ b/src/proto_http.c
@@ -2740,7 +2740,7 @@ bytes from the server, then this is the right moment. */ if (t->fe->to_log && !(t->logs.logwait & LW_BYTES)) { t->logs.t_close = t->logs.t_data; /* to get a valid end date */ - t->logs.bytes_in = rep->h - rep->data; + t->logs.bytes_in = txn->rsp.eoh; sess_log(t); }