Ticket #1565: mod_compress-should-check-con-mode-DIRECT_lighty1.5.patch

File mod_compress-should-check-con-mode-DIRECT_lighty1.5.patch, 0.8 kB (added by stbuehler, 5 months ago)
  • a/src/mod_compress.c

    old new  
    632632        int compression_type = 0; 
    633633        buffer *mtime, *content_type; 
    634634 
     635        if (con->mode != DIRECT) return HANDLER_GO_ON; 
     636 
    635637        if (con->conf.log_request_handling) TRACE("-- %s", "handling in mod_compress"); 
    636638 
    637639        /* only GET and POST can get compressed */