Browse Source

r2088@chromobil: stefan | 2008-02-26 17:02:27 +0100

Fix #1565: mod_compress should check if the request is already handled, e.g. by fastcgi


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2083 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.19
Stefan Bühler 14 years ago
parent
commit
75f92dd796
  1. 2
      src/mod_compress.c

2
src/mod_compress.c

@ -602,6 +602,8 @@ PHYSICALPATH_FUNC(mod_compress_physical) {
off_t max_fsize;
stat_cache_entry *sce = NULL;
if (con->mode != DIRECT || con->http_status) 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) {

Loading…
Cancel
Save