diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-05-15 15:42:53 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-05-15 15:42:53 +0000 |
commit | 6ddfbf06625eca15ddf24ac95b755cdc9db32bfa (patch) | |
tree | fdf4cccdd271b3fce401cff82c911aeb2a390703 /src/http/ngx_http_core_module.h | |
parent | 79a804880ee362a1256e6e8aeadb73f7f5cf0885 (diff) | |
download | nginx-6ddfbf06625eca15ddf24ac95b755cdc9db32bfa.tar.gz nginx-6ddfbf06625eca15ddf24ac95b755cdc9db32bfa.zip |
nginx-0.0.1-2003-05-15-19:42:53 import
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r-- | src/http/ngx_http_core_module.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 3208d0de1..48de1463d 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -31,9 +31,10 @@ typedef struct { typedef struct { int port; - ngx_array_t addr; /* array of ngx_http_in_addr_t */ + ngx_array_t addrs; /* array of ngx_http_in_addr_t */ } ngx_http_in_port_t; + typedef struct { u_int32_t addr; ngx_array_t names; /* array of ngx_http_server_name_t */ @@ -42,8 +43,10 @@ typedef struct { int flags; } ngx_http_in_addr_t; +/* ngx_http_in_addr_t's flags */ #define NGX_HTTP_DEFAULT_SERVER 1 + typedef struct { ngx_str_t name; ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */ @@ -54,7 +57,7 @@ typedef struct { #define ngx_http_types_hash_key(key, ext) \ { \ - int n; \ + uint n; \ for (key = 0, n = 0; n < ext.len; n++) { \ key += ext.data[n]; \ } \ @@ -79,10 +82,10 @@ typedef struct { ngx_array_t *types; int sendfile; /* sendfile */ - time_t send_timeout; /* send_timeout */ + ngx_msec_t send_timeout; /* send_timeout */ size_t send_lowat; /* send_lowa */ size_t discarded_buffer_size; /* discarded_buffer_size */ - time_t lingering_time; /* lingering_time */ + ngx_msec_t lingering_time; /* lingering_time */ ngx_msec_t lingering_timeout; /* lingering_timeout */ } ngx_http_core_loc_conf_t; |