MINOR: mux-quic: reorganize qcs free

Regroup some cleaning operations inside a new function qcs_free. This
can be used for all streams, both through qcs_destroy and with
uni-directional streams.
This commit is contained in:
Amaury Denoyelle
2022-03-29 18:36:59 +02:00
parent 50742294f5
commit dccbd733f0
3 changed files with 14 additions and 14 deletions

View File

@@ -12,7 +12,7 @@
#include <haproxy/xprt_quic-t.h>
struct qcs *qcs_new(struct qcc *qcc, uint64_t id, enum qcs_type type);
void uni_qcs_free(struct qcs *qcs);
void qcs_free(struct qcs *qcs);
struct buffer *qc_get_buf(struct qcs *qcs, struct buffer *bptr);