MINOR: quic: Add recovery related information to "show quic"
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 21 Mar 2023 12:42:43 +0000 (13:42 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 31 Mar 2023 07:54:59 +0000 (09:54 +0200)
commita3772e1134177e5117d1494afe7a4f31ecb089da
tree4924379d58a793d3d1489d413bcad8198659d19a
parentd7243318c4496a2bc27ea4e9e7834fce3bc3832a
MINOR: quic: Add recovery related information to "show quic"

Add ->srtt, ->rtt_var, ->rtt_min and ->pto_count values from ->path->loss
struct to "show quic". Same thing for ->cwnd from ->path struct.

Also take the opportunity of this patch to dump the packet number
space information directly from ->pktns[] array in place of ->els[]
array. Indeed, ->els[QUIC_TLS_ENC_LEVEL_EARLY_DATA] and ->els[QUIC_TLS_ENC_LEVEL_APP]
have the same packet number space.

Must be backported to 2.7 where "show quic" implementation has alredy been
backported.
src/quic_conn.c