Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
4697:09187f9b0950 | 4698:4c415af7dbc2 |
---|---|
393 if (clcf->keepalive_header) { | 393 if (clcf->keepalive_header) { |
394 len += sizeof("Keep-Alive: timeout=") - 1 + NGX_TIME_T_LEN + 2; | 394 len += sizeof("Keep-Alive: timeout=") - 1 + NGX_TIME_T_LEN + 2; |
395 } | 395 } |
396 | 396 |
397 } else { | 397 } else { |
398 len += sizeof("Connection: closed" CRLF) - 1; | 398 len += sizeof("Connection: close" CRLF) - 1; |
399 } | 399 } |
400 | 400 |
401 #if (NGX_HTTP_GZIP) | 401 #if (NGX_HTTP_GZIP) |
402 if (r->gzip_vary) { | 402 if (r->gzip_vary) { |
403 if (clcf->gzip_vary) { | 403 if (clcf->gzip_vary) { |