]> git.kaiwu.me - nginx.git/commitdiff
Stream: fixed build without stream_ssl_module (ticket #1032).
authorVladimir Homutov <vl@nginx.com>
Tue, 26 Jul 2016 16:34:12 +0000 (19:34 +0300)
committerVladimir Homutov <vl@nginx.com>
Tue, 26 Jul 2016 16:34:12 +0000 (19:34 +0300)
src/stream/ngx_stream_proxy_module.c

index 9d43109df2d0d42047afca2980721b2f617e169b..850a596aa513bc3973983567988be425f0bdd0b7 100644 (file)
@@ -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_resolver_ctx_t *ctx)
     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) {