diff src/http/ngx_http_header_filter_module.c @ 4698:4c415af7dbc2

Fixed a harmless error in spelling of "Connection: close" when computing the response header length.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 25 Jun 2012 13:08:25 +0000
parents 668ab1a21327
children 812c4765c954
line wrap: on
line diff
--- 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_
         }
 
     } else {
-        len += sizeof("Connection: closed" CRLF) - 1;
+        len += sizeof("Connection: close" CRLF) - 1;
     }
 
 #if (NGX_HTTP_GZIP)