Skip to content

Commit

Permalink
Stream: fixed build without stream_ssl_module (ticket #1032).
Browse files Browse the repository at this point in the history
  • Loading branch information
vlhomutov committed Jul 26, 2016
1 parent 386e3e8 commit 38ca99c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stream/ngx_stream_proxy_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 38ca99c

Please sign in to comment.