mirror of
https://github.com/nginx/nginx.git
synced 2025-06-22 13:51:12 +08:00
Made NGX_QUIC_DRAFT_VERSION tunable from configure parameters.
Now it can be switched using --with-cc-opt='-DNGX_QUIC_DRAFT_VERSION=28'.
This commit is contained in:
parent
7d41fd85b8
commit
f45ec755a5
@ -13,7 +13,9 @@
|
||||
|
||||
|
||||
/* Supported drafts: 27, 28 */
|
||||
#ifndef NGX_QUIC_DRAFT_VERSION
|
||||
#define NGX_QUIC_DRAFT_VERSION 27
|
||||
#endif
|
||||
#define NGX_QUIC_VERSION (0xff000000 + NGX_QUIC_DRAFT_VERSION)
|
||||
|
||||
#define NGX_QUIC_MAX_SHORT_HEADER 25 /* 1 flags + 20 dcid + 4 pn */
|
||||
|
Loading…
Reference in New Issue
Block a user