MINOR: quic: Rename functions which do not build only Handshake packets
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 4 Aug 2021 08:49:51 +0000 (10:49 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commit9445abc013f55225335531f21b142795cdd95f26
tree8d7d7c817fb8426e285775365f41a43cd95c7278
parent5d00b2d7b13daef6ab8689ad4bd58973c71038dc
MINOR: quic: Rename functions which do not build only Handshake packets

Rename qc_build_hdshk_pkt() to qc_build_pkt() and qc_do_build_hdshk_pkt()
to qc_do_build_pkt().
Update their comments consequently.
Make qc_do_build_hdshk_pkt() BUG_ON() when it does not manage to build
a packet. This is a bug!
src/xprt_quic.c