comparison src/http/ngx_http_upstream.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 d200a0fd00b7
children d1d0dd69a419
comparison
equal deleted inserted replaced
6734:0c572ed91b36 6735:e38e9c50a40e
220 #endif 220 #endif
221 signed store:2; 221 signed store:2;
222 unsigned intercept_404:1; 222 unsigned intercept_404:1;
223 unsigned change_buffering:1; 223 unsigned change_buffering:1;
224 224
225 #if (NGX_HTTP_SSL) 225 #if (NGX_HTTP_SSL || NGX_COMPAT)
226 ngx_ssl_t *ssl; 226 ngx_ssl_t *ssl;
227 ngx_flag_t ssl_session_reuse; 227 ngx_flag_t ssl_session_reuse;
228 228
229 ngx_http_complex_value_t *ssl_name; 229 ngx_http_complex_value_t *ssl_name;
230 ngx_flag_t ssl_server_name; 230 ngx_flag_t ssl_server_name;
365 365
366 ngx_str_t method; 366 ngx_str_t method;
367 ngx_str_t schema; 367 ngx_str_t schema;
368 ngx_str_t uri; 368 ngx_str_t uri;
369 369
370 #if (NGX_HTTP_SSL) 370 #if (NGX_HTTP_SSL || NGX_COMPAT)
371 ngx_str_t ssl_name; 371 ngx_str_t ssl_name;
372 #endif 372 #endif
373 373
374 ngx_http_cleanup_pt *cleanup; 374 ngx_http_cleanup_pt *cleanup;
375 375