mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-12 04:25:09 -05:00
Set buffer size of inbound frames to 16KiB.
This commit is contained in:
parent
4630dfb4fe
commit
59329b0070
@ -51,8 +51,12 @@ typedef struct {
|
|||||||
size_t framebufoff;
|
size_t framebufoff;
|
||||||
} spdylay_active_outbound_item;
|
} spdylay_active_outbound_item;
|
||||||
|
|
||||||
|
/* Buffer length for inbound SPDY frames. Same value for the size of
|
||||||
|
message block of SSLv3/TLSv1 */
|
||||||
|
#define SPDYLAY_INBOUND_BUFFER_LENGTH 16384
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t buf[4096];
|
uint8_t buf[SPDYLAY_INBOUND_BUFFER_LENGTH];
|
||||||
uint8_t *mark;
|
uint8_t *mark;
|
||||||
uint8_t *limit;
|
uint8_t *limit;
|
||||||
} spdylay_inbound_buffer;
|
} spdylay_inbound_buffer;
|
||||||
|
Loading…
Reference in New Issue
Block a user