aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-10-10 18:44:17 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-10-10 18:44:17 +0300
commit78f91756cdf4523a5dd3e71184b09c2265efee6f (patch)
tree94ad194fb7163e930e5b316f76744fbe54376ad3 /src/stream/ngx_stream.h
parent8fd8c32ccf7987f51d774edfcf7f5a65c75c137a (diff)
downloadnginx-78f91756cdf4523a5dd3e71184b09c2265efee6f.tar.gz
nginx-78f91756cdf4523a5dd3e71184b09c2265efee6f.zip
Modules compatibility: removed dependencies on NGX_STREAM_SSL.
External structures are now identical regardless of stream SSL module compiled in or not.
Diffstat (limited to 'src/stream/ngx_stream.h')
-rw-r--r--src/stream/ngx_stream.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h
index 15b96ff19..9e4169c38 100644
--- a/src/stream/ngx_stream.h
+++ b/src/stream/ngx_stream.h
@@ -49,9 +49,7 @@ typedef struct {
unsigned bind:1;
unsigned wildcard:1;
-#if (NGX_STREAM_SSL)
unsigned ssl:1;
-#endif
#if (NGX_HAVE_INET6)
unsigned ipv6only:1;
#endif
@@ -71,9 +69,7 @@ typedef struct {
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;
@@ -117,9 +113,7 @@ typedef enum {
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
@@ -223,9 +217,7 @@ struct ngx_stream_session_s {
ngx_int_t phase_handler;
ngx_uint_t status;
-#if (NGX_STREAM_SSL)
unsigned ssl:1;
-#endif
unsigned stat_processing:1;