mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 21:16:09 +02:00
BUG/MINOR: h2: add decoding for :protocol in traces
Function h2_phdr_to_list() was missing the decoding for the :protocol header and would emit :UNKNOWN in this case. It's only used in traces so it's not important. The fix can be backported in all versions.
This commit is contained in:
parent
47bb725d88
commit
a950c4b72d
@ -331,6 +331,7 @@ static inline struct ist h2_phdr_to_ist(int phdr)
|
||||
case H2_PHDR_IDX_SCHM: return ist(":scheme");
|
||||
case H2_PHDR_IDX_STAT: return ist(":status");
|
||||
case H2_PHDR_IDX_HOST: return ist("Host");
|
||||
case H2_PHDR_IDX_PROT: return ist(":protocol");
|
||||
default: return ist(":UNKNOWN");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user