]> git.kaiwu.me - nginx.git/commitdiff
Fixed a harmless error in spelling of "Connection: close" when computing
authorRuslan Ermilov <ru@nginx.com>
Mon, 25 Jun 2012 13:08:25 +0000 (13:08 +0000)
committerRuslan Ermilov <ru@nginx.com>
Mon, 25 Jun 2012 13:08:25 +0000 (13:08 +0000)
the response header length.

src/http/ngx_http_header_filter_module.c

index 19f531b5db1d30ef16e3cb75cc7a3705c3b76d05..1e01c857dc1df2b8fbce3e5c2597c57d03ba9a9c 100644 (file)
@@ -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)