]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.c
* Don't compress when HTTP tracing/logging is enabled
[citadel.git] / webcit / webserver.c
index 27f6c91a2248183ce6d97e3a76e11f567a031fc8..7b366df3c2d020dd8e5b68a79688a18bc7689e7d 100644 (file)
@@ -7,10 +7,6 @@
  *
  */
 
-/*
- * Uncomment to dump an HTTP trace to stderr
- */
-#define HTTP_TRACING 1
 
 #include <ctype.h>
 #include <stdlib.h>
@@ -275,7 +271,6 @@ void end_burst(void)
        WC->burst_len = 0;
        WC->burst = NULL;
 
-#ifndef HTTP_TRACING
 #ifdef HAVE_ZLIB
        /* Handle gzip compression */
        if (WC->gzip_ok) {
@@ -298,7 +293,6 @@ void end_burst(void)
                }
        }
 #endif                         /* HAVE_ZLIB */
-#endif                         /*  HTTP_TRACING */
 
        wprintf("Content-length: %d\r\n\r\n", the_len);
        client_write(the_data, the_len);