comparison src/http/ngx_http_upstream_round_robin.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 90cc7194e993
comparison
equal deleted inserted replaced
6734:0c572ed91b36 6735:e38e9c50a40e
38 ngx_msec_t slow_start; 38 ngx_msec_t slow_start;
39 ngx_msec_t start_time; 39 ngx_msec_t start_time;
40 40
41 ngx_uint_t down; 41 ngx_uint_t down;
42 42
43 #if (NGX_HTTP_SSL) 43 #if (NGX_HTTP_SSL || NGX_COMPAT)
44 void *ssl_session; 44 void *ssl_session;
45 int ssl_session_len; 45 int ssl_session_len;
46 #endif 46 #endif
47 47
48 #if (NGX_HTTP_UPSTREAM_ZONE) 48 #if (NGX_HTTP_UPSTREAM_ZONE)