mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 10:38:53 +08:00
Use 4086 as max DATA payload size to make DATA frame fit into 4K buffer
This commit is contained in:
@@ -74,9 +74,8 @@ typedef struct {
|
||||
/* Buffer length for inbound raw byte stream. */
|
||||
#define NGHTTP2_INBOUND_BUFFER_LENGTH 16384
|
||||
|
||||
#define NGHTTP2_INITIAL_OUTBOUND_FRAMEBUF_LENGTH (NGHTTP2_DATA_PAYLOAD_LENGTH+8)
|
||||
#define NGHTTP2_INITIAL_INBOUND_FRAMEBUF_LENGTH \
|
||||
NGHTTP2_INITIAL_OUTBOUND_FRAMEBUF_LENGTH
|
||||
#define NGHTTP2_INITIAL_OUTBOUND_FRAMEBUF_LENGTH 4096
|
||||
|
||||
#define NGHTTP2_INITIAL_NV_BUFFER_LENGTH 4096
|
||||
|
||||
/* Internal state when receiving incoming frame */
|
||||
|
||||
Reference in New Issue
Block a user