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
eefeb8ed3e
commit
59a7a800e1
|
@ -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