From 233406058725a2f24b5f2b5076691f9daf0061ef Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 5 Dec 2005 16:59:05 +0000 Subject: nginx-0.3.14-RELEASE import *) Bugfix: in the 304 response the body was transferred; the bug had appeared in 0.3.13. --- src/http/modules/ngx_http_static_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules') diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c index 1504f241d..e9d2b395d 100644 --- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -264,7 +264,7 @@ ngx_http_static_handler(ngx_http_request_t *r) rc = ngx_http_send_header(r); - if (rc == NGX_ERROR || rc > NGX_OK) { + if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { return rc; } -- cgit