Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.h @ 6718:bdf64ae3376b
Modules compatibility: http2.
HTTP/2-specific fields in structures are now available unconditionally.
Removed NGX_HTTP_V2 from the signature accordingly.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 03 Oct 2016 15:58:22 +0300 |
parents | 3b522d7a5b34 |
children | cebf5fed00bf |
comparison
equal
deleted
inserted
replaced
6717:3b522d7a5b34 | 6718:bdf64ae3376b |
---|---|
66 unsigned bind:1; | 66 unsigned bind:1; |
67 unsigned wildcard:1; | 67 unsigned wildcard:1; |
68 #if (NGX_HTTP_SSL) | 68 #if (NGX_HTTP_SSL) |
69 unsigned ssl:1; | 69 unsigned ssl:1; |
70 #endif | 70 #endif |
71 #if (NGX_HTTP_V2) | |
72 unsigned http2:1; | 71 unsigned http2:1; |
73 #endif | |
74 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) | 72 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) |
75 unsigned ipv6only:1; | 73 unsigned ipv6only:1; |
76 #endif | 74 #endif |
77 #if (NGX_HAVE_REUSEPORT) | 75 #if (NGX_HAVE_REUSEPORT) |
78 unsigned reuseport:1; | 76 unsigned reuseport:1; |
235 ngx_http_virtual_names_t *virtual_names; | 233 ngx_http_virtual_names_t *virtual_names; |
236 | 234 |
237 #if (NGX_HTTP_SSL) | 235 #if (NGX_HTTP_SSL) |
238 unsigned ssl:1; | 236 unsigned ssl:1; |
239 #endif | 237 #endif |
240 #if (NGX_HTTP_V2) | |
241 unsigned http2:1; | 238 unsigned http2:1; |
242 #endif | |
243 unsigned proxy_protocol:1; | 239 unsigned proxy_protocol:1; |
244 }; | 240 }; |
245 | 241 |
246 | 242 |
247 typedef struct { | 243 typedef struct { |