aboutsummaryrefslogtreecommitdiff
path: root/src/tests/common/slot_vector.cpp
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-11-02 23:40:30 +0100
committercirakg <cirakg@cirakg.xyz>2026-11-02 23:42:50 +0100
commit3e10d48548a285172ea7cb1f94c58783e1d97754 (patch)
tree203de9fd00993656728c37b3e148eac66f954065 /src/tests/common/slot_vector.cpp
parent693529b27ec898b867ad5806a0174f69597decc9 (diff)
network: fix room host LAN Play and room socket review issues
The room host and room moderators are in the Moderator state, not Joined, so the airplane mode override for joined rooms did not apply to them and LAN Play still returned them to the menu. Accept both states. Share the room address override between the NIFM profile and IP config calls so they cannot drift apart. recv() on a room TCP socket now waited for the receive timeout, because Recv goes through RecvFrom. Room TCP sockets have no peer, so keep the previous immediate end-of-stream result when nothing is queued. Close() now drops queued packets and wakes a blocked recv, which then fails with EBADF. The socket state that the room thread reads when it queues a packet is now guarded by the packet mutex. Assisted-by: Claude Opus 5.5 (investigation and implementation)
Diffstat (limited to 'src/tests/common/slot_vector.cpp')
0 files changed, 0 insertions, 0 deletions