diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-10-21 08:19:46 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-10-21 08:19:46 +0000 |
| commit | 79d630ac11d8a7979622925a39be65d606294609 (patch) | |
| tree | cc3cf40735552ded4390bd24525ee9c765732338 /src/http/ngx_http.h | |
| parent | e418e0661cd2e7972e73cd67412d019ce2ed13bf (diff) | |
| download | nginx-79d630ac11d8a7979622925a39be65d606294609.tar.gz nginx-79d630ac11d8a7979622925a39be65d606294609.tar.bz2 | |
refactor http listen code:
*) add listen's to the global cmcf->ports array instead of server's one
*) rename ngx_http_listen_conf_t to ngx_http_listen_opt_t
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index c165491dc..87209f640 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -57,6 +57,8 @@ struct ngx_http_log_ctx_s { ngx_int_t ngx_http_add_location(ngx_conf_t *cf, ngx_queue_t **locations, ngx_http_core_loc_conf_t *clcf); +ngx_int_t ngx_http_add_listen(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, + ngx_http_listen_t *listen); void ngx_http_init_connection(ngx_connection_t *c); |
