1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-11-12 04:25:09 -05:00

Set max outbound DATA frame length to 8+4KiB

This commit is contained in:
Tatsuhiro Tsujikawa 2012-02-08 01:28:00 +09:00
parent 59329b0070
commit 154b02c464

View File

@ -37,7 +37,8 @@
#define SPDYLAY_LENGTH_MASK 0xffffff #define SPDYLAY_LENGTH_MASK 0xffffff
#define SPDYLAY_VERSION_MASK 0x7fff #define SPDYLAY_VERSION_MASK 0x7fff
#define SPDYLAY_DATA_FRAME_LENGTH 4096 /* DATA frame length. This is 8+4KiB */
#define SPDYLAY_DATA_FRAME_LENGTH 4104
/* The number of bytes of frame header. */ /* The number of bytes of frame header. */
#define SPDYLAY_FRAME_HEAD_LENGTH 8 #define SPDYLAY_FRAME_HEAD_LENGTH 8