summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-06-25 13:08:25 +0000
committerRuslan Ermilov <ru@nginx.com>2012-06-25 13:08:25 +0000
commit8c861f06c84590868907701454c41aa04973fe1d (patch)
treee87fec872d31d1adb553054a4a459405b75fe7f9 /src
parent42444811b9281b1946a7a6f6d2f0b3ab2a98c269 (diff)
downloadnginx-8c861f06c84590868907701454c41aa04973fe1d.tar.gz
nginx-8c861f06c84590868907701454c41aa04973fe1d.tar.bz2
Fixed a harmless error in spelling of "Connection: close" when computing
the response header length.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_header_filter_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c
index 19f531b5d..1e01c857d 100644
--- a/src/http/ngx_http_header_filter_module.c
+++ b/src/http/ngx_http_header_filter_module.c
@@ -395,7 +395,7 @@ ngx_http_header_filter(ngx_http_request_t *r)
}
} else {
- len += sizeof("Connection: closed" CRLF) - 1;
+ len += sizeof("Connection: close" CRLF) - 1;
}
#if (NGX_HTTP_GZIP)