From dfbbde19528c6c712a15277a6f42d221d23086ff Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Sun, 5 Nov 2006 04:24:48 +0000 Subject: [PATCH] decompress_data: move a comment This should have been done in commit e441361f2c51c0ece87afc3ed68e5c6ea5522f13. --- src/protocol/http/http.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/protocol/http/http.c b/src/protocol/http/http.c index e3acc7fa0..25502602c 100644 --- a/src/protocol/http/http.c +++ b/src/protocol/http/http.c @@ -971,8 +971,6 @@ decompress_data(struct connection *conn, unsigned char *data, int len, #define BIG_READ 65536 if (!*length_of_block) { /* Going to finish this decoding bussiness. */ - /* Some nicely big value - empty encoded output queue by reading - * big chunks from it. */ state = FINISHING; } @@ -1027,6 +1025,9 @@ decompress_data(struct connection *conn, unsigned char *data, int len, } } } else { + /* state is FINISHING. Set to_read to some nice, big + * value to empty the encoded output queue by reading + * big chunks from it. */ to_read = BIG_READ; }