comparison src/http/ngx_http_header_filter.c @ 477:ad1e9ebf93bb release-0.1.13

nginx-0.1.13-RELEASE import *) Feature: the server_names_hash and server_names_hash_threshold directives. *) Bugfix: the *.domain.tld names in the "server_name" directive did not work. *) Bugfix: the %request_length log parameter logged the incorrect length.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Dec 2004 12:30:30 +0000
parents 8e8f3af115b5
children 975f62e77f02
comparison
equal deleted inserted replaced
476:7e8b84ab09e9 477:ad1e9ebf93bb
251 * Mozilla keeps the connection alive for N plus about 1-10 seconds. 251 * Mozilla keeps the connection alive for N plus about 1-10 seconds.
252 * Konqueror keeps the connection alive for about N seconds. 252 * Konqueror keeps the connection alive for about N seconds.
253 */ 253 */
254 254
255 if (clcf->keepalive_header) { 255 if (clcf->keepalive_header) {
256 len += sizeof("Keep-Alive: timeout=") - 1 + TIME_T_LEN + 2; 256 len += sizeof("Keep-Alive: timeout=") - 1 + NGX_TIME_T_LEN + 2;
257 } 257 }
258 258
259 } else { 259 } else {
260 len += sizeof("Connection: closed" CRLF) - 1; 260 len += sizeof("Connection: closed" CRLF) - 1;
261 } 261 }