From 228127bcd843d9d9f354eeee6f164941a9d41343 Mon Sep 17 00:00:00 2001
From: Krzysztof Piotr Oledzki <ole#ans.pl>
Date: Sun, 20 Jan 2008 23:27:02 +0100
Subject: [BUG]: Restore clearing t->logs.bytes
Commit 8b3977ffe36190e45fb974bf813bfbd935ac99a1 removed "t->logs.bytes_in = 0;"
but instead it should change it into "t->logs.bytes_out = 0;" as since
583bc966064e248771e75c253dddec7351afd8a2 counters are incremented not set.
We need this to prevent counting headers twice.
---
src/proto_http.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/proto_http.c b/src/proto_http.c
index 2ce6786..d67cc88 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -3134,6 +3134,7 @@ int process_srv(struct session *t)
http_sess_log(t); else tcp_sess_log(t); + t->logs.bytes_out = 0; } /* Note: we must not try to cheat by jumping directly to DATA,
-- 1.5.3.7Received on 2008/01/21 01:58
This archive was generated by hypermail 2.2.0 : 2008/01/21 02:00 CET