summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream_round_robin.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-10-10 18:44:17 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-10-10 18:44:17 +0300
commit8fd8c32ccf7987f51d774edfcf7f5a65c75c137a (patch)
tree24450b882b29d4972fce76966b6f0f5d743f7a19 /src/http/ngx_http_upstream_round_robin.h
parent844c78556bc93343dd1c3c9236b5c16f4e2eac39 (diff)
downloadnginx-8fd8c32ccf7987f51d774edfcf7f5a65c75c137a.tar.gz
nginx-8fd8c32ccf7987f51d774edfcf7f5a65c75c137a.tar.bz2
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/http/ngx_http_upstream_round_robin.h')
-rw-r--r--src/http/ngx_http_upstream_round_robin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream_round_robin.h b/src/http/ngx_http_upstream_round_robin.h
index 92aa1a60c..45f258d28 100644
--- a/src/http/ngx_http_upstream_round_robin.h
+++ b/src/http/ngx_http_upstream_round_robin.h
@@ -40,7 +40,7 @@ struct ngx_http_upstream_rr_peer_s {
ngx_uint_t down;
-#if (NGX_HTTP_SSL)
+#if (NGX_HTTP_SSL || NGX_COMPAT)
void *ssl_session;
int ssl_session_len;
#endif