Mercurial > hg > nginx-vendor-current
comparison src/http/modules/ngx_http_autoindex_module.c @ 256:2e9c57a5e50a NGINX_0_4_13
nginx 0.4.13
*) Feature: the "proxy_pass" directive may be used inside the
"limit_except" block.
*) Feature: the "limit_except" directive supports all WebDAV methods.
*) Bugfix: if the "add_before_body" directive was used without the
"add_after_body" directive, then an response did not transferred
complete.
*) Bugfix: a large request body did not receive if the epoll method and
the deferred accept() were used.
*) Bugfix: a charset could not be set for ngx_http_autoindex_module
responses; bug appeared in 0.3.50.
*) Bugfix: the "[alert] zero size buf" error when FastCGI server was
used;
*) Bugfix: the --group= configuration parameter was ignored.
Thanks to Thomas Moschny.
*) Bugfix: the 50th subrequest in SSI response did not work; bug
appeared in 0.3.50.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Nov 2006 00:00:00 +0300 |
parents | acd2ec3541cb |
children | cac46d125dc7 |
comparison
equal
deleted
inserted
replaced
255:a13bad126e69 | 256:2e9c57a5e50a |
---|---|
227 { | 227 { |
228 return ngx_http_autoindex_error(r, &dir, &path); | 228 return ngx_http_autoindex_error(r, &dir, &path); |
229 } | 229 } |
230 | 230 |
231 r->headers_out.status = NGX_HTTP_OK; | 231 r->headers_out.status = NGX_HTTP_OK; |
232 r->headers_out.content_type_len = sizeof("text/html") - 1; | |
232 r->headers_out.content_type.len = sizeof("text/html") - 1; | 233 r->headers_out.content_type.len = sizeof("text/html") - 1; |
233 r->headers_out.content_type.data = (u_char *) "text/html"; | 234 r->headers_out.content_type.data = (u_char *) "text/html"; |
234 | 235 |
235 rc = ngx_http_send_header(r); | 236 rc = ngx_http_send_header(r); |
236 | 237 |