Files
gost-x/dialer
ginuerzh c5c8f0903c feat(mux): make mux layer pluggable and add Yamux backend
Convert the concrete *mux.Session into a mux.Session interface backed by
smux and yamux, selected via the `mux.type` metadata key. Empty/unspecified
defaults to "smux", so existing deployments are unchanged. Yamux's stream
window is exposed via `mux.maxStreamWindow`.

Also fix TestHandler_observeStats: the retry_after_observer_error subtest
hung because stats.Events() drains (IsUpdated is Swap(false)) and no fresh
event was generated for the recovery tick's fall-through flush. Inject a real
client2 event so the recovery tick has new data to flush.

Plan: docs/plans/2026-07-13-mux-pluggable-yamux.md
2026-07-13 23:12:27 +08:00
..
2022-11-29 09:45:51 +08:00
2022-04-07 23:03:31 +08:00
2025-08-05 20:24:00 +08:00
2024-10-10 22:49:56 +08:00
2024-10-10 22:49:56 +08:00
2023-10-15 23:55:52 +08:00
2025-11-11 12:37:33 +08:00
2023-09-18 23:14:55 +08:00
2024-07-08 22:38:21 +08:00