mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-24 19:33:38 -04:00
[MINOR] set request time even for stats requests
This commit is contained in:
parent
d0a05bd220
commit
950609c39c
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue