Bound idle time, header size and request reading on every listener, and connections on the client port

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-04 10:21:15 +02:00
1 parent d3fb217b31
commit f1b49d0251
9 files changed
+78 -38

No files matched your search

+3 -3
View File
@@ -131,10 +131,10 @@ type response struct {
// Listener waits for machines to join.
type Listener struct {
ln net.Listener
addr string
ln net.Listener
addr string
// now is time.Now, replaced by tests.
now func() time.Time
now func() time.Time
fingerprint [16]byte
ttl time.Duration