diff -r a55491f66003 -r 5234c57b8759 src/server/util/io.h --- a/src/server/util/io.h Sat May 07 12:54:19 2022 +0200 +++ b/src/server/util/io.h Sat May 07 14:08:46 2022 +0200 @@ -131,19 +131,12 @@ */ char chunk_buf[HTTP_STREAM_CBUF_SIZE]; /* - * after the chunk header is parsed, the content of chunk_buf - * will be moved to remaining_buf - */ - char remaining_buf[HTTP_STREAM_CBUF_SIZE]; - /* - * number of bytes currently stored in remaining_buf + * chunked transfer encoding for write enabled? */ - int remaining_len; + WSBool chunked_enc; /* - * + * end of file indicator (read) */ - int remaining_pos; - WSBool chunked_enc; WSBool read_eof; };