Mercurial > hg > nginx-vendor-1-0
comparison src/http/modules/ngx_http_gzip_filter_module.c @ 570:8246d8a2c2be NGINX_0_8_37
nginx 0.8.37
*) Feature: the ngx_http_split_clients_module.
*) Feature: the "map" directive supports keys more than 255 characters.
*) Bugfix: nginx ignored the "private" and "no-store" values in the
"Cache-Control" backend response header line.
*) Bugfix: a "stub" parameter of an "include" SSI directive was not
used, if empty response has 200 status code.
*) Bugfix: if a proxied or FastCGI request was internally redirected to
another proxied or FastCGI location, then a segmentation fault might
occur in a worker process; the bug had appeared in 0.8.33.
Thanks to Yichun Zhang.
*) Bugfix: IMAP connections may hang until they timed out while talking
to Zimbra server.
Thanks to Alan Batie.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 17 May 2010 00:00:00 +0400 |
parents | 25255878df91 |
children | c5122335e41d |
comparison
equal
deleted
inserted
replaced
569:19b134bf21c0 | 570:8246d8a2c2be |
---|---|
283 if (h == NULL) { | 283 if (h == NULL) { |
284 return NGX_ERROR; | 284 return NGX_ERROR; |
285 } | 285 } |
286 | 286 |
287 h->hash = 1; | 287 h->hash = 1; |
288 h->key.len = sizeof("Content-Encoding") - 1; | 288 ngx_str_set(&h->key, "Content-Encoding"); |
289 h->key.data = (u_char *) "Content-Encoding"; | 289 ngx_str_set(&h->value, "gzip"); |
290 h->value.len = sizeof("gzip") - 1; | |
291 h->value.data = (u_char *) "gzip"; | |
292 | |
293 r->headers_out.content_encoding = h; | 290 r->headers_out.content_encoding = h; |
294 | 291 |
295 r->main_filter_need_in_memory = 1; | 292 r->main_filter_need_in_memory = 1; |
296 | 293 |
297 ngx_http_clear_content_length(r); | 294 ngx_http_clear_content_length(r); |