Files
sbt/internal
Albert MeltzerandClaude Opus 5 091ec3b794 [2.0.x] fix: Keep accepting after a client fails
**Problem**
The accept loop did not catch an exception from onIncomingSocket, so
its thread ended. Nothing closed the server socket, so the path stayed
bound: the server took no further client, and the process kept running.
The socket of the client that failed stayed open too.

**Solution**
Log that client, close its socket, and take the next one. An exception
from accept itself keeps the handling it had, so a socket that is
really broken still ends the loop.

The callback now takes a holder rather than the socket, and calls
AtomicCloseable.release to keep it. The loop closes whatever the
callback left behind.

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-10-05 13:51:17 -04:00
..
2025-06-30 02:44:36 -04:00
2026-05-31 16:57:12 -04:00
2026-06-01 02:23:15 -04:00
2025-02-22 08:48:29 +09:00