mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
d65e7aab76
Almost all WebSocket implementations (including all major browsers) disable Nagle's algorithm to favor low latency over packet overhead. This was also the case in Godot 3.x, while in Godot 4.0 this was only being done for clients and wasn't even always working due to a bug. This commit fixes the aforementioned bug, and forces TCP_NODELAY when accepting a stream as a server. |
||
---|---|---|
.. | ||
WebSocketMultiplayerPeer.xml | ||
WebSocketPeer.xml |