[WS] Implement wslay unbuffered message parsing
Ensure we never read more than we can store during poll. Raise default max packets to 4096 to maintain the same performance for the first 2048 packets.
This commit is contained in:
parent
caff0ff591
commit
3114bda4e1
6 changed files with 72 additions and 17 deletions
|
|
@ -71,7 +71,7 @@ protected:
|
|||
|
||||
int outbound_buffer_size = DEFAULT_BUFFER_SIZE;
|
||||
int inbound_buffer_size = DEFAULT_BUFFER_SIZE;
|
||||
int max_queued_packets = 2048;
|
||||
int max_queued_packets = 4096;
|
||||
uint64_t heartbeat_interval_msec = 0;
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue