From: Vladimir Homutov Date: Tue, 26 Jul 2016 16:34:12 +0000 (+0300) Subject: Stream: fixed build without stream_ssl_module (ticket #1032). X-Git-Tag: release-1.11.4~41 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=38ca99cf98afb8155e3bdc37575beb0a4b1b6723;p=nginx.git 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 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) {