Mercurial > hg > nginx
diff src/http/ngx_http_core_module.h @ 96:a23d010f356d
nginx-0.0.1-2003-05-27-16:18:54 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 27 May 2003 12:18:54 +0000 |
parents | b48066122884 |
children | 70d2345a903f |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.h Fri May 23 11:53:01 2003 +0000 +++ b/src/http/ngx_http_core_module.h Tue May 27 12:18:54 2003 +0000 @@ -47,6 +47,7 @@ typedef struct { int port; + ngx_str_t port_name; ngx_array_t addrs; /* array of ngx_http_in_addr_t */ } ngx_http_in_port_t; @@ -56,7 +57,7 @@ ngx_array_t names; /* array of ngx_http_server_name_t */ ngx_http_core_srv_conf_t *core_srv_conf; /* default server conf for this address:port */ - int flags; + int flags; } ngx_http_in_addr_t; /* ngx_http_in_addr_t's flags */ @@ -87,22 +88,23 @@ typedef struct { - ngx_str_t name; /* location name */ - void **loc_conf ; /* pointer to the modules' loc_conf */ + ngx_str_t name; /* location name */ + void **loc_conf ; /* pointer to the modules' loc_conf */ - int (*handler) (ngx_http_request_t *r); + int (*handler) (ngx_http_request_t *r); - ngx_str_t doc_root; /* root */ + ngx_str_t doc_root; /* root */ ngx_array_t *types; + ngx_str_t default_type; - int sendfile; /* sendfile */ - ngx_msec_t send_timeout; /* send_timeout */ - size_t send_lowat; /* send_lowa */ - size_t discarded_buffer_size; /* discarded_buffer_size */ - ngx_msec_t keepalive_timeout; /* keepalive_timeout */ - ngx_msec_t lingering_time; /* lingering_time */ - ngx_msec_t lingering_timeout; /* lingering_timeout */ + int sendfile; /* sendfile */ + ngx_msec_t send_timeout; /* send_timeout */ + size_t send_lowat; /* send_lowat */ + size_t discarded_buffer_size; /* discarded_buffer_size */ + ngx_msec_t keepalive_timeout; /* keepalive_timeout */ + ngx_msec_t lingering_time; /* lingering_time */ + ngx_msec_t lingering_timeout; /* lingering_timeout */ } ngx_http_core_loc_conf_t;