mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
[MINOR] proto_uxst: set accept_date upon accept() to the wall clock time
This accept_date field was not set and will be reported in the stats as the connection's accept date.
This commit is contained in:
parent
6464841769
commit
bc77530456
1 changed files with 1 additions and 0 deletions
|
|
@ -481,6 +481,7 @@ int uxst_event_accept(int fd) {
|
|||
memset(&s->logs, 0, sizeof(s->logs));
|
||||
memset(&s->txn, 0, sizeof(s->txn));
|
||||
|
||||
s->logs.accept_date = date; /* user-visible date for logging */
|
||||
s->logs.tv_accept = now; /* corrected date for internal use */
|
||||
|
||||
s->data_state = DATA_ST_INIT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue