Mercurial > hg > nginx
comparison src/event/ngx_event_quic.h @ 8547:57e5393e5d40 quic
QUIC: switched to draft 29 by default.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 11 Sep 2020 10:56:05 +0300 |
parents | 924882f42dea |
children | 2727d402e5a5 |
comparison
equal
deleted
inserted
replaced
8546:eece8e35e64d | 8547:57e5393e5d40 |
---|---|
10 | 10 |
11 #include <ngx_config.h> | 11 #include <ngx_config.h> |
12 #include <ngx_core.h> | 12 #include <ngx_core.h> |
13 | 13 |
14 | 14 |
15 /* Supported drafts: 27, 28 */ | 15 /* Supported drafts: 27, 28, 29 */ |
16 #ifndef NGX_QUIC_DRAFT_VERSION | 16 #ifndef NGX_QUIC_DRAFT_VERSION |
17 #define NGX_QUIC_DRAFT_VERSION 27 | 17 #define NGX_QUIC_DRAFT_VERSION 29 |
18 #endif | 18 #endif |
19 #define NGX_QUIC_VERSION (0xff000000 + NGX_QUIC_DRAFT_VERSION) | 19 #define NGX_QUIC_VERSION (0xff000000 + NGX_QUIC_DRAFT_VERSION) |
20 | 20 |
21 #define NGX_QUIC_MAX_SHORT_HEADER 25 /* 1 flags + 20 dcid + 4 pn */ | 21 #define NGX_QUIC_MAX_SHORT_HEADER 25 /* 1 flags + 20 dcid + 4 pn */ |
22 #define NGX_QUIC_MAX_LONG_HEADER 56 | 22 #define NGX_QUIC_MAX_LONG_HEADER 56 |