return NGX_ERROR;
}
-#if (NGX_STREAM_SSL)
if (ngx_array_init(&cmcf->phases[NGX_STREAM_SSL_PHASE].handlers,
cf->pool, 1, sizeof(ngx_stream_handler_pt))
!= NGX_OK)
{
return NGX_ERROR;
}
-#endif
if (ngx_array_init(&cmcf->phases[NGX_STREAM_PREREAD_PHASE].handlers,
cf->pool, 1, sizeof(ngx_stream_handler_pt))
unsigned bind:1;
unsigned wildcard:1;
-#if (NGX_STREAM_SSL)
unsigned ssl:1;
-#endif
#if (NGX_HAVE_INET6)
unsigned ipv6only:1;
#endif
typedef struct {
ngx_stream_conf_ctx_t *ctx;
ngx_str_t addr_text;
-#if (NGX_STREAM_SSL)
unsigned ssl:1;
-#endif
unsigned proxy_protocol:1;
} ngx_stream_addr_conf_t;
NGX_STREAM_POST_ACCEPT_PHASE = 0,
NGX_STREAM_PREACCESS_PHASE,
NGX_STREAM_ACCESS_PHASE,
-#if (NGX_STREAM_SSL)
NGX_STREAM_SSL_PHASE,
-#endif
NGX_STREAM_PREREAD_PHASE,
NGX_STREAM_CONTENT_PHASE,
NGX_STREAM_LOG_PHASE
ngx_int_t phase_handler;
ngx_uint_t status;
-#if (NGX_STREAM_SSL)
unsigned ssl:1;
-#endif
unsigned stat_processing:1;