Mercurial > hg > nginx-quic
diff src/event/ngx_event_quic.h @ 7735:c9c3a73df6e8 quic
Support for HTTP/3 ALPN.
This is required by Chrome.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 23 Mar 2020 19:26:24 +0300 |
parents | d45325e90221 |
children | 8e54a17dabee |
line wrap: on
line diff
--- a/src/event/ngx_event_quic.h +++ b/src/event/ngx_event_quic.h @@ -11,8 +11,8 @@ #include <ngx_event_openssl.h> -#define quic_version 0xff000018 /* draft-24 (ngtcp2) */ -//#define quic_version 0xff00001b /* draft-27 (FFN 76) */ +#define NGX_QUIC_DRAFT_VERSION 24 +#define NGX_QUIC_VERSION (0xff000000 + NGX_QUIC_DRAFT_VERSION) #define NGX_QUIC_MAX_SHORT_HEADER 25 #define NGX_QUIC_MAX_LONG_HEADER 346