Commit Graph

3 Commits

Author SHA1 Message Date
ginuerzh d189dc7967 fix(pipe): prevent error swallowing and goroutine leak in Pipe/Transport
Pipe: remove context.WithCancel that caused premature ctx.Done()
before the second pipeHalf could return its error. Replace with a
completed counter that drains both errors even on cancellation.

Transport: increase error channel buffer from 1 to 2 to prevent
goroutine leak when both CopyBuffer goroutines complete.
2026-05-21 10:28:55 +08:00
pak.wzq f373f2f4b9 fix 2026-04-21 20:53:10 +08:00
ginuerzh 9397cb5351 initial commit 2022-03-14 20:27:14 +08:00