From 48507ef55874c7d67ea63c71f90b15b205750f3a Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 24 Dec 2018 11:40:26 +0100 Subject: [PATCH] CLEANUP: mux-h2: remove misleading comments about CONTINUATION These ones were left-over from copy-pastes that are unrelated to CONTINUATION frames. --- src/mux_h2.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mux_h2.c b/src/mux_h2.c index 59fe40655..1906d5853 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -3705,9 +3705,6 @@ static size_t h2s_frt_make_resp_headers(struct h2s *h2s, const struct buffer *bu b_add(&h2c->mbuf, outbuf.data); h2s->flags |= H2_SF_HEADERS_SENT; - /* for now we don't implemented CONTINUATION, so we wait for a - * body or directly end in TRL2. - */ if (es_now) { // trim any possibly pending data (eg: inconsistent content-length) ret += max; @@ -4164,9 +4161,6 @@ static size_t h2s_htx_frt_make_resp_headers(struct h2s *h2s, struct htx *htx) b_add(&h2c->mbuf, outbuf.data); h2s->flags |= H2_SF_HEADERS_SENT; - /* for now we don't implemented CONTINUATION, so we wait for a - * body or directly end in TRL2. - */ if (es_now) { h2s->flags |= H2_SF_ES_SENT; if (h2s->st == H2_SS_OPEN) @@ -4380,9 +4374,6 @@ static size_t h2s_htx_bck_make_req_headers(struct h2s *h2s, struct htx *htx) h2s->flags |= H2_SF_HEADERS_SENT; h2s->st = H2_SS_OPEN; - /* for now we don't implemented CONTINUATION, so we wait for a - * body or directly end in TRL2. - */ if (es_now) { // trim any possibly pending data (eg: inconsistent content-length) h2s->flags |= H2_SF_ES_SENT;