comparison src/http/modules/ngx_http_xslt_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 5c576ea5dbd9
children c456a023113c
comparison
equal deleted inserted replaced
569:19b134bf21c0 570:8246d8a2c2be
835 r->headers_out.content_type.data = type; 835 r->headers_out.content_type.data = type;
836 836
837 } else if (doc_type == XML_HTML_DOCUMENT_NODE) { 837 } else if (doc_type == XML_HTML_DOCUMENT_NODE) {
838 838
839 r->headers_out.content_type_len = sizeof("text/html") - 1; 839 r->headers_out.content_type_len = sizeof("text/html") - 1;
840 r->headers_out.content_type.len = sizeof("text/html") - 1; 840 ngx_str_set(&r->headers_out.content_type, "text/html");
841 r->headers_out.content_type.data = (u_char *) "text/html";
842 } 841 }
843 842
844 r->headers_out.content_type_lowcase = NULL; 843 r->headers_out.content_type_lowcase = NULL;
845 844
846 return b; 845 return b;
1142 ccv.zero = 1; 1141 ccv.zero = 1;
1143 1142
1144 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { 1143 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) {
1145 return NGX_CONF_ERROR; 1144 return NGX_CONF_ERROR;
1146 } 1145 }
1147
1148 } 1146 }
1149 1147
1150 return NGX_CONF_OK; 1148 return NGX_CONF_OK;
1151 } 1149 }
1152 1150