Files
honk/changes/fix-pool-ready-close-wait.md
Lumen Yanganderies 649779d806 fix(pool,outbound): detect CLOSE-WAIT ready streams behind unread TLS bytes (#585)
* fix(pool,outbound): detect CLOSE-WAIT ready streams behind unread TLS bytes

* fix(pr-585): unify bare and ready TCP pool liveness into single poll

* refactor(pr-585): remove dead fd downcast arms and unused ProxyStream::raw_fd

* test(pr-585): harden fd extraction and ready-pool eviction coverage

* docs(pr-585): trim verbose comments and clarify changelog

---------

Co-authored-by: eries <coloredflowers@outlook.com>
2026-12-04 10:20:18 +08:00

237 B

Fixed

  • Ready-pool liveness checks now detect idle peer-closed TLS tunnels (such as TLS 1.3 Trojan connections left in CLOSE-WAIT behind unread post-handshake records) before reuse, preventing immediate connection resets on checkout.