virtualx-engine/modules/websocket
Fabio Alessandrelli d65e7aab76 [WebSocket] Ensure TCP_NODELAY is always set
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.
2024-07-22 14:40:19 +02:00
..
doc_classes [WebSocket] Ensure TCP_NODELAY is always set 2024-07-22 14:40:19 +02:00
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 [WebSocket] Ensure TCP_NODELAY is always set 2024-07-22 14:40:19 +02:00
wsl_peer.h