From 4da05478e3a66376c2bb90c0d321f14204f2e289 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 18 Jul 2019 15:26:47 +0200 Subject: [PATCH] CLEANUP: mux-h2: Remove unused flags H2_SF_CHNK_* Since the legacy HTTP code was removed, these flags are unused anymore. --- src/mux_h2.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/mux_h2.c b/src/mux_h2.c index 10bad14f2..cf6ad9dcf 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -177,15 +177,7 @@ enum h2_ss { #define H2_SF_DATA_CLEN 0x00000100 // data sent using content-length #define H2_SF_DATA_CHNK 0x00000200 // data sent using chunked-encoding -/* step we're currently in when sending chunks. This is needed because we may - * have to transfer chunks as large as a full buffer so there's no room left - * for size nor crlf around. - */ -#define H2_SF_CHNK_SIZE 0x00000000 // trying to send chunk size -#define H2_SF_CHNK_DATA 0x00000400 // trying to send chunk data -#define H2_SF_CHNK_CRLF 0x00000800 // trying to send chunk crlf after data - -#define H2_SF_CHNK_MASK 0x00000C00 // trying to send chunk size +/* unused flags: 0x00000400, 0x00000800 */ #define H2_SF_HEADERS_SENT 0x00001000 // a HEADERS frame was sent for this stream #define H2_SF_OUTGOING_DATA 0x00002000 // set whenever we've seen outgoing data