diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-05-06 17:03:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-05-06 17:03:16 +0000 |
commit | 3d09c8df72bc8f4f6f4a15b59f7802444398dcf4 (patch) | |
tree | 5808a30006c81451ec796770e13e5635edb0b0e9 /src/http/ngx_http_core_module.c | |
parent | 1d8d9eee942ab1d2565048e00d1817147c49f48c (diff) | |
download | nginx-3d09c8df72bc8f4f6f4a15b59f7802444398dcf4.tar.gz nginx-3d09c8df72bc8f4f6f4a15b59f7802444398dcf4.zip |
nginx-0.0.1-2003-05-06-21:03:16 import
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 9eab6ad08..0e67f3358 100644 --- 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_commands[] = { {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_commands[] = { {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_commands[] = { {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: %s" _ plcf[i]->name.data); 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; |