From 38ca99cf98afb8155e3bdc37575beb0a4b1b6723 Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Tue, 26 Jul 2016 19:34:12 +0300 Subject: [PATCH] Stream: fixed build without stream_ssl_module (ticket #1032). --- src/stream/ngx_stream_proxy_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream/ngx_stream_proxy_module.c b/src/stream/ngx_stream_proxy_module.c index 9d43109df2..850a596aa5 100644 --- a/src/stream/ngx_stream_proxy_module.c +++ b/src/stream/ngx_stream_proxy_module.c @@ -538,7 +538,7 @@ ngx_stream_proxy_handler(ngx_stream_session_t *s) 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) {