[nginx] Stream: fixed build without stream_ssl_module (ticket #1032).

Vladimir Homutov vl at nginx.com
Tue Jul 26 16:34:44 UTC 2016


details:   http://hg.nginx.org/nginx/rev/d43ee392e825
branches:  
changeset: 6648:d43ee392e825
user:      Vladimir Homutov <vl at nginx.com>
date:      Tue Jul 26 19:34:12 2016 +0300
description:
Stream: fixed build without stream_ssl_module (ticket #1032).

diffstat:

 src/stream/ngx_stream_proxy_module.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 0b4249f975eb -r d43ee392e825 src/stream/ngx_stream_proxy_module.c
--- a/src/stream/ngx_stream_proxy_module.c	Tue Jul 26 19:07:18 2016 +0300
+++ b/src/stream/ngx_stream_proxy_module.c	Tue Jul 26 19:34:12 2016 +0300
@@ -538,7 +538,7 @@ found:
         return;
     }
 
-#if (NGX_HTTP_SSL)
+#if (NGX_STREAM_SSL)
     u->ssl_name = uscf->host;
 #endif
 
@@ -1157,7 +1157,7 @@ ngx_stream_proxy_resolve_handler(ngx_res
     u = s->upstream;
     ur = u->resolved;
 
-    ngx_log_debug0(NGX_LOG_DEBUG_HTTP, s->connection->log, 0,
+    ngx_log_debug0(NGX_LOG_DEBUG_STREAM, s->connection->log, 0,
                    "stream upstream resolve");
 
     if (ctx->state) {



More information about the nginx-devel mailing list