Commit Graph

10 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
ginuerzh c42a44abb6 add sniffer utility 2024-10-02 22:51:23 +08:00
ginuerzh cc4310106b fix race condition 2023-10-19 23:47:47 +08:00
ginuerzh 30c705ffe5 increase transport buffer size 2023-05-01 14:05:18 +08:00
ginuerzh 416405b1f0 add UDP support for reverse proxy tunnel 2023-02-02 19:18:10 +08:00
ginuerzh 43036f8e64 fix http traffic forwarding 2023-01-29 23:32:13 +08:00
ginuerzh 470d229c58 fix transport 2022-08-31 20:18:52 +08:00
ginuerzh a1a2ea59d4 fix double copy in transport 2022-08-18 13:18:59 +08:00
ginuerzh 1415462d23 update core pkg 2022-04-05 22:55:19 +08:00
ginuerzh 1444ebc1ee add metrics 2022-04-05 17:56:36 +08:00