Files
Paul Lorenz 52c8fa69ab Stop the UDP xgress listeners deadlocking their own event loop. Fixes #4552
- closes sessions inline when the listener's event loop closes them (expiry scan, failed connect),
  instead of queueing a close event that only the loop itself can receive
- keeps Close's blocking queue send for other callers, so a close still reaches the loop ahead of
  anything queued after it, and has Close release any QueueRead waiting on the session first
- has QueueRead deliver whenever the read buffer has room and stop waiting once the session is
  closed, so the loop cannot block on a reader that has stopped
- marks activity directly in Write rather than queueing an update event per packet, holding the
  timeout in an atomic
- matches a transport_udp connect response to the session it was made for rather than the session
  now registered at that address, and drops it when a new session has replaced that one, since the
  client would take any reply as the answer to its new attempt
- tests that the loop's session calls never wait on the loop, that a close releases a waiting read,
  that reads which fit are still delivered while closing, that a close queued before a connect
  response is handled first, and that a stale response leaves a replacement session alone
- tests that a proxy-mode virtual UDP connection closes its write conn only when it owns it,
  leaving the listener it shares with the service's other clients open, since the tunneler UDP
  data flow test no longer exercises that close (the fix for #3540)
- notes the fix in the changelog
2026-11-05 11:23:23 -05:00
..
2026-01-28 15:01:35 -05:00
…