comparison src/event/ngx_event_quic.h @ 8269: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
comparison
equal deleted inserted replaced
8268:159eb325ec82 8269:c9c3a73df6e8
9 9
10 10
11 #include <ngx_event_openssl.h> 11 #include <ngx_event_openssl.h>
12 12
13 13
14 #define quic_version 0xff000018 /* draft-24 (ngtcp2) */ 14 #define NGX_QUIC_DRAFT_VERSION 24
15 //#define quic_version 0xff00001b /* draft-27 (FFN 76) */ 15 #define NGX_QUIC_VERSION (0xff000000 + NGX_QUIC_DRAFT_VERSION)
16 16
17 #define NGX_QUIC_MAX_SHORT_HEADER 25 17 #define NGX_QUIC_MAX_SHORT_HEADER 25
18 #define NGX_QUIC_MAX_LONG_HEADER 346 18 #define NGX_QUIC_MAX_LONG_HEADER 346
19 19
20 #define NGX_QUIC_DEFAULT_MAX_PACKET_SIZE 65527 20 #define NGX_QUIC_DEFAULT_MAX_PACKET_SIZE 65527