diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-12-05 16:59:05 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-12-05 16:59:05 +0000 |
commit | 233406058725a2f24b5f2b5076691f9daf0061ef (patch) | |
tree | 9a264579953aba27471ac21cc4ab6438aa5e063c /src/http/modules/ngx_http_static_module.c | |
parent | ed98ff126bf6c690e2d908290f327c3e07c24404 (diff) | |
download | nginx-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.c | 2 |
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; } |