From 4dbc29b28099be295aa381d14dc581a6f74bc23a Mon Sep 17 00:00:00 2001 From: =?utf-8?q?=3D=3Futf-8=3Fq=3FStefan=3D20B=3DC3=3DBChler=3F=3D?= Date: Fri, 15 Feb 2008 16:36:25 +0100 Subject: [PATCH] mod_compress should check con->mode == DIRECT --- src/mod_compress.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mod_compress.c b/src/mod_compress.c index ed88e9b..41f5a6c 100644 --- a/src/mod_compress.c +++ b/src/mod_compress.c @@ -632,6 +632,8 @@ PHYSICALPATH_FUNC(mod_compress_physical) { int compression_type = 0; buffer *mtime, *content_type; + if (con->mode != DIRECT) return HANDLER_GO_ON; + if (con->conf.log_request_handling) TRACE("-- %s", "handling in mod_compress"); /* only GET and POST can get compressed */ -- 1.5.3.8