From a7f80ec354dd470a1da09585f8a74dd73d3ce883 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 3 Oct 2016 15:58:22 +0300 Subject: Modules compatibility: http2. HTTP/2-specific fields in structures are now available unconditionally. Removed NGX_HTTP_V2 from the signature accordingly. --- src/http/ngx_http_core_module.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/http/ngx_http_core_module.h') 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; }; -- cgit