aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_proxy_module.c
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2016-07-26 19:34:12 +0300
committerVladimir Homutov <vl@nginx.com>2016-07-26 19:34:12 +0300
commit38ca99cf98afb8155e3bdc37575beb0a4b1b6723 (patch)
treeb3a9e2d55aac78fdc5b5e0fb0a0e11c8ffe5fbef /src/stream/ngx_stream_proxy_module.c
parent386e3e80bbf0507ae3ea101b32b19460dd5e3553 (diff)
downloadnginx-38ca99cf98afb8155e3bdc37575beb0a4b1b6723.tar.gz
nginx-38ca99cf98afb8155e3bdc37575beb0a4b1b6723.zip
Stream: fixed build without stream_ssl_module (ticket #1032).
Diffstat (limited to 'src/stream/ngx_stream_proxy_module.c')
-rw-r--r--src/stream/ngx_stream_proxy_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/ngx_stream_proxy_module.c b/src/stream/ngx_stream_proxy_module.c
index 9d43109df..850a596aa 100644
--- a/src/stream/ngx_stream_proxy_module.c
+++ b/src/stream/ngx_stream_proxy_module.c
@@ -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) {