HTTP/2: fixed the NGX_HTTP_V2_MAX_FIELD macro.

This commit is contained in:
Valentin Bartenev 2015-10-26 17:46:13 +03:00
parent 9150c7df1f
commit 3565680d94

View File

@ -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