mirror of
https://github.com/nginx/nginx.git
synced 2024-12-23 07:33:29 -06:00
HTTP/2: fixed the NGX_HTTP_V2_MAX_FIELD macro.
This commit is contained in:
parent
9150c7df1f
commit
3565680d94
@ -21,7 +21,8 @@
|
||||
#define NGX_HTTP_V2_MAX_FRAME_SIZE ((1 << 24) - 1)
|
||||
|
||||
#define NGX_HTTP_V2_INT_OCTETS 4
|
||||
#define NGX_HTTP_V2_MAX_FIELD ((1 << NGX_HTTP_V2_INT_OCTETS * 7) - 1)
|
||||
#define NGX_HTTP_V2_MAX_FIELD \
|
||||
(127 + (1 << (NGX_HTTP_V2_INT_OCTETS - 1) * 7) - 1)
|
||||
|
||||
#define NGX_HTTP_V2_DATA_DISCARD 1
|
||||
#define NGX_HTTP_V2_DATA_ERROR 2
|
||||
|
Loading…
Reference in New Issue
Block a user