Revert NGHTTP2_DATA_PAYLOADLEN to 4086

This commit is contained in:
Tatsuhiro Tsujikawa 2014-04-05 23:42:37 +09:00
parent 5b55874d4d
commit f763d76110
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
(NGHTTP2_FRAME_HDLEN + 2 + NGHTTP2_MAX_PAYLOADLEN) (NGHTTP2_FRAME_HDLEN + 2 + NGHTTP2_MAX_PAYLOADLEN)
/* The maximum length of DATA frame payload. */ /* The maximum length of DATA frame payload. */
#define NGHTTP2_DATA_PAYLOADLEN 4096 #define NGHTTP2_DATA_PAYLOADLEN (4096 - NGHTTP2_FRAME_HDLEN - 2)
/* The number of bytes for each SETTINGS entry */ /* The number of bytes for each SETTINGS entry */
#define NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH 5 #define NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH 5