From 950609c39c64c581b8b6cf9d9afa02c9e9fe6537 Mon Sep 17 00:00:00 2001 From: willy tarreau Date: Thu, 18 May 2006 01:23:51 +0200 Subject: [PATCH] [MINOR] set request time even for stats requests --- haproxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/haproxy.c b/haproxy.c index d8375bd9a..aa8a5fb73 100644 --- a/haproxy.c +++ b/haproxy.c @@ -4183,6 +4183,8 @@ int process_cli(struct session *t) { } t->cli_state = CL_STSHUTR; + req->rlim = req->data + BUFSIZE; /* no more rewrite needed */ + t->logs.t_request = tv_diff(&t->logs.tv_accept, &now); t->data_source = DATA_SRC_STATS; produce_content(t); return 1;