mirror of https://github.com/openresty/openresty
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
385 B
Diff
12 lines
385 B
Diff
--- nginx-1.4.3/src/http/modules/ngx_http_gzip_filter_module.c 2013-10-08 05:07:14.000000000 -0700
|
|
+++ nginx-1.4.3-patched/src/http/modules/ngx_http_gzip_filter_module.c 2013-10-27 14:53:49.723406912 -0700
|
|
@@ -370,7 +370,7 @@ ngx_http_gzip_body_filter(ngx_http_reque
|
|
}
|
|
}
|
|
|
|
- if (ctx->nomem) {
|
|
+ if (ctx->nomem || in == NULL) {
|
|
|
|
/* flush busy buffers */
|
|
|