summaryrefslogtreecommitdiffstats
path: root/misc/scripts/file_format.py
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2024-07-22 14:02:05 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2024-07-22 14:40:19 +0200
commitd65e7aab76a96f254d95e03b909f183912efe562 (patch)
treeef062f12236da5c0b3783ecc5dc6060a20f9cbf7 /misc/scripts/file_format.py
parente25f3c0d38d457b15a63720240736f564ce0501b (diff)
downloadredot-engine-d65e7aab76a96f254d95e03b909f183912efe562.tar.gz
[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.
Diffstat (limited to 'misc/scripts/file_format.py')
0 files changed, 0 insertions, 0 deletions