Project

General

Profile

Bug #1565 » mod_compress-should-check-con-mode-DIRECT_lighty1.4.patch

stbuehler, 2008-02-15 15:47

View differences:

src/mod_compress.c
stat_cache_entry *sce = NULL;
buffer *content_type;
if (con->mode != DIRECT) return HANDLER_GO_ON;
/* only GET and POST can get compressed */
if (con->request.http_method != HTTP_METHOD_GET &&
con->request.http_method != HTTP_METHOD_POST) {
(1-1/2)