aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-04-24 15:29:01 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-04-24 15:29:01 +0300
commit76be1ea9de13c5e8bb0d9523c6a2ad4009a5d7cf (patch)
treeefc4b871b998e7e04d5ab4a11a7df9e89a3e1dde /src/http/ngx_http_core_module.h
parent5d3a854ebd4f59854ade798b94070ff1ee3eddcf (diff)
downloadnginx-76be1ea9de13c5e8bb0d9523c6a2ad4009a5d7cf.tar.gz
nginx-76be1ea9de13c5e8bb0d9523c6a2ad4009a5d7cf.zip
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.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index d79850498..4c6da7c0f 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -184,6 +184,9 @@ typedef struct {
/* server ctx */
ngx_http_conf_ctx_t *ctx;
+ u_char *file_name;
+ ngx_uint_t line;
+
ngx_str_t server_name;
size_t connection_pool_size;