diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2024-08-06 09:51:28 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2024-08-06 09:51:28 +0200 |
commit | 531c72f30d5bc23e56b4841f5f657397e9095bf5 (patch) | |
tree | c29dcce7d6a99ad2b99e642df17e480e45157a57 /tests/test_utils.cpp | |
parent | 3978628c6cc1227250fc6ed45c8d854d24c30c30 (diff) | |
download | redot-engine-531c72f30d5bc23e56b4841f5f657397e9095bf5.tar.gz |
[MP] Avoid error spam in relay protocol when clients disconnect
When multiple clients are connected, and the server is using the relay
sub-protocol, it might happen that a client disconnects while a packet
sent to it from another peer is still in transit.
In that case, when the packet reaches the server for relaying, it used
to generate an error (as the destination client did no longer exists).
This commit changes check to suppress the error message while still
skipping the packet.
Diffstat (limited to 'tests/test_utils.cpp')
0 files changed, 0 insertions, 0 deletions