summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-10-03 15:58:22 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-10-03 15:58:22 +0300
commita7f80ec354dd470a1da09585f8a74dd73d3ce883 (patch)
tree9b8b32260024089b71bb1b289494c81fab66f9c1 /src/http/ngx_http_core_module.h
parent2641022229fc7375996cfbbe84ec31e27dd376af (diff)
downloadnginx-a7f80ec354dd470a1da09585f8a74dd73d3ce883.tar.gz
nginx-a7f80ec354dd470a1da09585f8a74dd73d3ce883.tar.bz2
Modules compatibility: http2.
HTTP/2-specific fields in structures are now available unconditionally. Removed NGX_HTTP_V2 from the signature accordingly.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index fb391d744..a8013b184 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -68,9 +68,7 @@ typedef struct {
#if (NGX_HTTP_SSL)
unsigned ssl:1;
#endif
-#if (NGX_HTTP_V2)
unsigned http2:1;
-#endif
#if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
unsigned ipv6only:1;
#endif
@@ -237,9 +235,7 @@ struct ngx_http_addr_conf_s {
#if (NGX_HTTP_SSL)
unsigned ssl:1;
#endif
-#if (NGX_HTTP_V2)
unsigned http2:1;
-#endif
unsigned proxy_protocol:1;
};