comparison src/http/ngx_http_core_module.h @ 2224:109849282793

*) listen ssl *) no default ssl_cetificate and ssl_cetificate_key
author Igor Sysoev <igor@sysoev.ru>
date Mon, 01 Sep 2008 14:19:01 +0000
parents 5398f47082f0
children f62751dab60d
comparison
equal deleted inserted replaced
2223:005fc65f7ce7 2224:109849282793
33 33
34 34
35 typedef struct { 35 typedef struct {
36 unsigned default_server:1; 36 unsigned default_server:1;
37 unsigned bind:1; 37 unsigned bind:1;
38 #if (NGX_HTTP_SSL)
39 unsigned ssl:1;
40 #endif
38 41
39 int backlog; 42 int backlog;
40 int rcvbuf; 43 int rcvbuf;
41 int sndbuf; 44 int sndbuf;
42 45
165 168
166 /* the default server configuration for this address:port */ 169 /* the default server configuration for this address:port */
167 ngx_http_core_srv_conf_t *core_srv_conf; 170 ngx_http_core_srv_conf_t *core_srv_conf;
168 171
169 ngx_http_virtual_names_t *virtual_names; 172 ngx_http_virtual_names_t *virtual_names;
173
174 #if (NGX_HTTP_SSL)
175 ngx_uint_t ssl; /* unsigned ssl:1; */
176 #endif
170 } ngx_http_in_addr_t; 177 } ngx_http_in_addr_t;
171 178
172 179
173 typedef struct { 180 typedef struct {
174 in_port_t port; 181 in_port_t port;
201 /* the default server configuration for this address:port */ 208 /* the default server configuration for this address:port */
202 ngx_http_core_srv_conf_t *core_srv_conf; 209 ngx_http_core_srv_conf_t *core_srv_conf;
203 210
204 unsigned default_server:1; 211 unsigned default_server:1;
205 unsigned bind:1; 212 unsigned bind:1;
213 #if (NGX_HTTP_SSL)
214 unsigned ssl:1;
215 #endif
206 216
207 ngx_http_listen_conf_t *listen_conf; 217 ngx_http_listen_conf_t *listen_conf;
208 } ngx_http_conf_in_addr_t; 218 } ngx_http_conf_in_addr_t;
209 219
210 220