93c08f9de1
A peer that connected and then said nothing froze the whole seam. The token handshake ran inline in Listener.Accept, so the five seconds of handshakeTimeout the silent peer was owed were five seconds no other connection could be accepted. One unauthenticated stranger holding a socket open was a denial of service on every daemon behind a tcp seam, which is the path V-515 is about to put mavwaked and mavenclient on. Accept now takes authorized connections off a channel. A background loop pulls from the wrapped listener and greets each connection in its own goroutine, so a slow greeting costs only its own connection. Listener.Close releases anything still waiting to be handed over. A unix seam delegates straight to the wrapped listener and grows no machinery, because it has no handshake to run. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>