mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
[MINOR] set request time even for stats requests
This commit is contained in:
parent
d0a05bd220
commit
950609c39c
@ -4183,6 +4183,8 @@ int process_cli(struct session *t) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
t->cli_state = CL_STSHUTR;
|
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;
|
t->data_source = DATA_SRC_STATS;
|
||||||
produce_content(t);
|
produce_content(t);
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user