aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_static_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-12-05 16:59:05 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-12-05 16:59:05 +0000
commit233406058725a2f24b5f2b5076691f9daf0061ef (patch)
tree9a264579953aba27471ac21cc4ab6438aa5e063c /src/http/modules/ngx_http_static_module.c
parented98ff126bf6c690e2d908290f327c3e07c24404 (diff)
downloadnginx-233406058725a2f24b5f2b5076691f9daf0061ef.tar.gz
nginx-233406058725a2f24b5f2b5076691f9daf0061ef.zip
nginx-0.3.14-RELEASE importrelease-0.3.14
*) Bugfix: in the 304 response the body was transferred; the bug had appeared in 0.3.13.
Diffstat (limited to 'src/http/modules/ngx_http_static_module.c')
-rw-r--r--src/http/modules/ngx_http_static_module.c2
1 files changed, 1 insertions, 1 deletions
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;
}