diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-10 18:44:17 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-10 18:44:17 +0300 |
commit | 8fd8c32ccf7987f51d774edfcf7f5a65c75c137a (patch) | |
tree | 24450b882b29d4972fce76966b6f0f5d743f7a19 /src/core/ngx_connection.h | |
parent | 844c78556bc93343dd1c3c9236b5c16f4e2eac39 (diff) |
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.
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r-- | src/core/ngx_connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index a49c5a656..1d3e3a3a1 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -147,7 +147,7 @@ struct ngx_connection_s { ngx_str_t proxy_protocol_addr; in_port_t proxy_protocol_port; -#if (NGX_SSL) +#if (NGX_SSL || NGX_COMPAT) ngx_ssl_connection_t *ssl; #endif |