Stream: fixed build without stream_ssl_module (ticket #1032).
diff --git a/src/stream/ngx_stream_proxy_module.c b/src/stream/ngx_stream_proxy_module.c
index 9d43109..850a596 100644
--- a/src/stream/ngx_stream_proxy_module.c
+++ b/src/stream/ngx_stream_proxy_module.c
@@ -538,7 +538,7 @@
return;
}
-#if (NGX_HTTP_SSL)
+#if (NGX_STREAM_SSL)
u->ssl_name = uscf->host;
#endif
@@ -1157,7 +1157,7 @@
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) {