]> code.citadel.org Git - citadel.git/blobdiff - webcit/context_loop.c
* Don't compress when HTTP tracing/logging is enabled
[citadel.git] / webcit / context_loop.c
index dc5825cb36e00790aedac7c049533e25c08e5272..9fd9ba8fe4f9b003457879b5ff7bb21ef72eb33a 100644 (file)
@@ -286,16 +286,12 @@ void context_loop(int sock)
 
                /*
                 * Can we compress?
-                * (Don't compress if HTTP_TRACING is active, because
-                * the compressed data obviously doesn't log well.)
                 */
-#ifndef HTTP_TRACING
                if (!strncasecmp(buf, "Accept-encoding:", 16)) {
                        if (strstr(&buf[16], "gzip")) {
                                gzip_ok = 1;
                        }
                }
-#endif /* HTTP_TRACING */
 
                /*
                 * Browser-based sessions use cookies for session authentication