mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-06 21:47:31 +00:00
A shared .well-known lookup only ran while a caller awaited it. If every caller gave up, the next request resumed it with its fetch timeout long expired, and cached a failure for an hour. Run it as its own task. The TLS handshake and a proxy's CONNECT answer had no timeout. hyper finishes some connections in a background task that no request timeout reaches, so a peer that stalled after accepting leaked the task and its socket. Give each 30 seconds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R5b7Ruy4cgt27Mjq6Ptxbb