mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 01:41:49 -04:00
BUG/MINOR: session/trace: use distinct flags for SESS_EV_END and _ERR
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run
Session traces were brought in 3.1 by commit abb07af67 ("MINOR:
session/trace: enable very minimal session tracing") though there was
an issue, because SESS_EV_END and SESS_EV_ERR have the same value (it's
a copy-paste mistake).
This can be backported to 3.2.
This commit is contained in:
parent
4519906c70
commit
015933794e
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ static const struct trace_event sess_trace_events[] = {
|
|||
{ .mask = SESS_EV_NEW, .name = "sess_new", .desc = "new session creation" },
|
||||
#define SESS_EV_END (1ULL << 1)
|
||||
{ .mask = SESS_EV_END, .name = "sess_end", .desc = "session termination" },
|
||||
#define SESS_EV_ERR (1ULL << 1)
|
||||
#define SESS_EV_ERR (1ULL << 2)
|
||||
{ .mask = SESS_EV_ERR, .name = "sess_err", .desc = "session error" },
|
||||
{ }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue