mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user