Stream: fixed build without stream_ssl_module (ticket #1032).

This commit is contained in:
Vladimir Homutov 2016-07-26 19:34:12 +03:00
parent 386e3e80bb
commit 38ca99cf98

View 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) {