comparison src/http/ngx_http_core_module.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 adc2414856b1
children d15172ebb400
comparison
equal deleted inserted replaced
6734:0c572ed91b36 6735:e38e9c50a40e
65 65
66 unsigned set:1; 66 unsigned set:1;
67 unsigned default_server:1; 67 unsigned default_server:1;
68 unsigned bind:1; 68 unsigned bind:1;
69 unsigned wildcard:1; 69 unsigned wildcard:1;
70 #if (NGX_HTTP_SSL)
71 unsigned ssl:1; 70 unsigned ssl:1;
72 #endif
73 unsigned http2:1; 71 unsigned http2:1;
74 #if (NGX_HAVE_INET6) 72 #if (NGX_HAVE_INET6)
75 unsigned ipv6only:1; 73 unsigned ipv6only:1;
76 #endif 74 #endif
77 unsigned deferred_accept:1; 75 unsigned deferred_accept:1;
228 /* the default server configuration for this address:port */ 226 /* the default server configuration for this address:port */
229 ngx_http_core_srv_conf_t *default_server; 227 ngx_http_core_srv_conf_t *default_server;
230 228
231 ngx_http_virtual_names_t *virtual_names; 229 ngx_http_virtual_names_t *virtual_names;
232 230
233 #if (NGX_HTTP_SSL)
234 unsigned ssl:1; 231 unsigned ssl:1;
235 #endif
236 unsigned http2:1; 232 unsigned http2:1;
237 unsigned proxy_protocol:1; 233 unsigned proxy_protocol:1;
238 }; 234 };
239 235
240 236