Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.h @ 7269:7f955d3b9a0d
SSL: detect "listen ... ssl" without certificates (ticket #178).
In mail and stream modules, no certificate provided is a fatal condition,
much like with the "ssl" and "starttls" directives.
In http, "listen ... ssl" can be used in a non-default server without
certificates as long as there is a certificate in the default one, so
missing certificate is only fatal for default servers.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 24 Apr 2018 15:29:01 +0300 |
parents | 20f139e9ffa8 |
children | 4f9b72a229c1 |
comparison
equal
deleted
inserted
replaced
7268:0d8c72ff62dd | 7269:7f955d3b9a0d |
---|---|
181 /* array of the ngx_http_server_name_t, "server_name" directive */ | 181 /* array of the ngx_http_server_name_t, "server_name" directive */ |
182 ngx_array_t server_names; | 182 ngx_array_t server_names; |
183 | 183 |
184 /* server ctx */ | 184 /* server ctx */ |
185 ngx_http_conf_ctx_t *ctx; | 185 ngx_http_conf_ctx_t *ctx; |
186 | |
187 u_char *file_name; | |
188 ngx_uint_t line; | |
186 | 189 |
187 ngx_str_t server_name; | 190 ngx_str_t server_name; |
188 | 191 |
189 size_t connection_pool_size; | 192 size_t connection_pool_size; |
190 size_t request_pool_size; | 193 size_t request_pool_size; |