Mercurial > hg > nginx
comparison src/core/ngx_connection.h @ 6735:e38e9c50a40e
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 10 Oct 2016 18:44:17 +0300 |
parents | 0c572ed91b36 |
children | ed1101bbf19f |
comparison
equal
deleted
inserted
replaced
6734:0c572ed91b36 | 6735:e38e9c50a40e |
---|---|
145 ngx_str_t addr_text; | 145 ngx_str_t addr_text; |
146 | 146 |
147 ngx_str_t proxy_protocol_addr; | 147 ngx_str_t proxy_protocol_addr; |
148 in_port_t proxy_protocol_port; | 148 in_port_t proxy_protocol_port; |
149 | 149 |
150 #if (NGX_SSL) | 150 #if (NGX_SSL || NGX_COMPAT) |
151 ngx_ssl_connection_t *ssl; | 151 ngx_ssl_connection_t *ssl; |
152 #endif | 152 #endif |
153 | 153 |
154 struct sockaddr *local_sockaddr; | 154 struct sockaddr *local_sockaddr; |
155 socklen_t local_socklen; | 155 socklen_t local_socklen; |