]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: mux-h2: remove misleading comments about CONTINUATION
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Dec 2018 10:40:26 +0000 (11:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Dec 2018 10:45:00 +0000 (11:45 +0100)
These ones were left-over from copy-pastes that are unrelated to
CONTINUATION frames.

src/mux_h2.c

index 59fe40655583ce5e9b315e6702fb8e931b3831b7..1906d585309fd73a44252972d6aa8742d2faf215 100644 (file)
@@ -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;