Files
0ad/source
trompetin17 b2fc1d6943 DapInterface: shutdown sockets on Unix
FreeBSD could hang indefinitely when the debug-adapter process
terminated because we closed the TCP socket without first calling
`shutdown()`.  On that platform (and similarly on Linux and macOS)
a peer that is still blocked in `recv` will not be woken up unless
a full‐duplex shutdown is performed.

This patch adds `shutdown(fd, SHUT_RDWR)` in `DapInterface.cpp`
for Linux, *BSD, and macOS builds, preventing the observed hang.
2025-07-14 13:53:17 -05:00
..
2025-06-26 20:05:53 +02:00
2025-07-01 09:01:00 +02:00
2025-07-11 11:06:04 -05:00
2025-07-06 18:24:31 +02:00
2025-07-09 09:04:50 +02:00
2025-06-26 17:25:05 +02:00
2025-07-11 11:06:04 -05:00