From d1202edadd6afe1045c82c3a39d3d8a1eebda1ad Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Mon, 6 Dec 2021 16:18:43 +0100 Subject: [PATCH] MINOR: h3: remove duplicated FIN flag position The FIN flag is already set in h3_snd_buf on HTX EOM reception. The same action in h3_resp_headers_send is duplicated and thus now removed. --- src/h3.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/h3.c b/src/h3.c index 14c56c697..6414c598e 100644 --- a/src/h3.c +++ b/src/h3.c @@ -484,9 +484,6 @@ static int h3_resp_headers_send(struct qcs *qcs, struct htx *htx) break; } - if ((htx->flags & HTX_FL_EOM) && htx_is_empty(htx) && status >= 200) - qcs->flags |= QC_SF_FIN_STREAM; - return ret; err: