comparison src/http/ngx_http_header_filter_module.c @ 4725:47936d1c98e9 stable-1.2

Merge of r4682, r4694, r4699, r4704, r4705: minor nits. *) Fixed spelling of "endianness", and called it "byte ordering" in the user visible part. *) Fixed return type of ngx_strerror_init(). *) Fixed a harmless error in spelling of "Connection: close" when computing the response header length. *) Style. *) Added code to look up Google perftools in /opt/local/, for MacPorts.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 02 Jul 2012 16:51:02 +0000
parents 5a4666d4b6cb
children 812c4765c954
comparison
equal deleted inserted replaced
4724:0141b4aec0e4 4725:47936d1c98e9
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) {