openresty/patches/ngx_http_redis-0.3.9-remove...

15 lines
471 B
C

diff --git a/ngx_http_redis_module.c b/ngx_http_redis_module.c
index 23c8084..404acb2 100644
--- a/ngx_http_redis_module.c
+++ b/ngx_http_redis_module.c
@@ -614,9 +614,6 @@ found:
ngx_str_set(&h->key, "Content-Encoding");
ngx_str_set(&h->value, "gzip");
h->lowcase_key = (u_char*) "content-encoding";
-#if (NGX_HTTP_GZIP)
- u->headers_in.content_encoding = h;
-#endif
}
/* try to find end of string */