From 8fd8c32ccf7987f51d774edfcf7f5a65c75c137a Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 10 Oct 2016 18:44:17 +0300 Subject: Modules compatibility: compatibility with NGX_HTTP_SSL. With this change it is now possible to load modules compiled without the "--with-http_ssl_module" configure option into nginx binary compiled with it, and vice versa (if a module doesn't use ssl-specific functions), assuming both use the "--with-compat" option. --- src/http/ngx_http_core_module.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/http/ngx_http_core_module.h') diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 7140a6b7a..ade9abbe5 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -67,9 +67,7 @@ typedef struct { unsigned default_server:1; unsigned bind:1; unsigned wildcard:1; -#if (NGX_HTTP_SSL) unsigned ssl:1; -#endif unsigned http2:1; #if (NGX_HAVE_INET6) unsigned ipv6only:1; @@ -230,9 +228,7 @@ struct ngx_http_addr_conf_s { ngx_http_virtual_names_t *virtual_names; -#if (NGX_HTTP_SSL) unsigned ssl:1; -#endif unsigned http2:1; unsigned proxy_protocol:1; }; -- cgit