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. |
||
---|---|---|
.. | ||
doc_classes | ||
editor | ||
config.py | ||
emws_peer.cpp | ||
emws_peer.h | ||
library_godot_websocket.js | ||
packet_buffer.h | ||
register_types.cpp | ||
register_types.h | ||
remote_debugger_peer_websocket.cpp | ||
remote_debugger_peer_websocket.h | ||
SCsub | ||
websocket_multiplayer_peer.cpp | ||
websocket_multiplayer_peer.h | ||
websocket_peer.cpp | ||
websocket_peer.h | ||
wsl_peer.cpp | ||
wsl_peer.h |