Files
reverse-engineering-anything/tests/fixtures
5b1bc26c37 test(hopper): queue bridge reconnects before closing the previous client (#13325)
The reconnect probe closed its client and then connected again while the
bridge waited 0.2 s for the next accept. A probe stalled past that window
saw the listener closed (ConnectionRefusedError on main run 44855978833,
FileNotFoundError with an injected stall). Queue the successor connection
and its first request before ending the previous one, as the probe
already does for the first client, so neither the reconnect nor the
unauthenticated-idle budget depends on probe scheduling. A rejected
connection keeps its idle budget, so its successor is queued before the
probe reads the rejection.

Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-22 12:22:36 +08:00
..