mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-18 18:19:39 -05:00
DEV: term-events: Fix hanshake events decoding
Handshakes events were not properly decoded. Only send errors were decoded as expected, other events were reported with a '-'. It is now fixes. This patch could be backported as far as 3.2.
This commit is contained in:
parent
1b7843f1c1
commit
ccb075fa1b
1 changed files with 4 additions and 4 deletions
|
|
@ -30,10 +30,10 @@ static const char *tevt_fd_types[16] = {
|
|||
};
|
||||
|
||||
static const char *tevt_hs_types[16] = {
|
||||
[ 0] = "-", [ 1] = "-", [ 2] = "-", [ 3] = "rcv_err",
|
||||
[ 4] = "snd_err", [ 5] = "-", [ 6] = "-", [ 7] = "-",
|
||||
[ 8] = "-", [ 9] = "-", [10] = "-", [11] = "-",
|
||||
[12] = "-", [13] = "-", [14] = "-", [15] = "-",
|
||||
[ 0] = "-", [ 1] = "-", [ 2] = "-", [ 3] = "-",
|
||||
[ 4] = "snd_err", [ 5] = "truncated_shutr", [ 6] = "truncated_rcv_err", [ 7] = "-",
|
||||
[ 8] = "-", [ 9] = "-", [10] = "-", [11] = "-",
|
||||
[12] = "-", [13] = "-", [14] = "-", [15] = "-",
|
||||
};
|
||||
|
||||
static const char *tevt_xprt_types[16] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue