comparison src/http/ngx_http_header_filter.c @ 26:45fe5b98a9de NGINX_0_1_13

nginx 0.1.13 *) 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 <http://sysoev.ru>
date Tue, 21 Dec 2004 00:00:00 +0300
parents 8b6db3bda591
children 41ccba1aba45
comparison
equal deleted inserted replaced
25:21488c53e135 26:45fe5b98a9de
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 }