Mercurial > hg > nginx
diff src/http/ngx_http_core_module.c @ 84:fab4cb00fe5b
nginx-0.0.1-2003-05-06-21:03:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 May 2003 17:03:16 +0000 |
parents | b2ece31c976a |
children | 3973260705cc |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -43,7 +43,7 @@ static ngx_command_t ngx_http_core_comm {ngx_string("post_accept_timeout"), NGX_HTTP_MAIN_CONF|NGX_CONF_TAKE1, - ngx_conf_set_time_slot, + ngx_conf_set_msec_slot, 0, addressof(ngx_http_post_accept_timeout)}, @@ -61,7 +61,7 @@ static ngx_command_t ngx_http_core_comm {ngx_string("client_header_timeout"), NGX_HTTP_MAIN_CONF|NGX_CONF_TAKE1, - ngx_conf_set_time_slot, + ngx_conf_set_msec_slot, 0, addressof(ngx_http_client_header_timeout)}, @@ -103,19 +103,19 @@ static ngx_command_t ngx_http_core_comm {ngx_string("send_timeout"), NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, - ngx_conf_set_time_slot, + ngx_conf_set_msec_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_core_loc_conf_t, send_timeout)}, {ngx_string("lingering_time"), NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, - ngx_conf_set_time_slot, + ngx_conf_set_msec_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_core_loc_conf_t, lingering_time)}, {ngx_string("lingering_timeout"), NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, - ngx_conf_set_time_slot, + ngx_conf_set_msec_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_core_loc_conf_t, lingering_timeout)}, @@ -239,7 +239,7 @@ ngx_log_debug(r->connection->log, "trans continue; } - rc = ngx_strncmp(r->uri.data, plcf[i]->name.data, plcf[i]->name.len); + rc = ngx_rstrncmp(r->uri.data, plcf[i]->name.data, plcf[i]->name.len); if (rc < 0) { break;