fix: vision panic with dialer-proxy

https://github.com/MetaCubeX/mihomo/issues/2334
This commit is contained in:
wwqgtxx
2025-11-04 18:54:33 +08:00
parent fd39c2a7fc
commit c2209d68f7
2 changed files with 17 additions and 3 deletions

View File

@@ -24,6 +24,8 @@ var WriteBuffer = bufio.WriteBuffer
type ReadWaitOptions = network.ReadWaitOptions
var NewReadWaitOptions = network.NewReadWaitOptions
var CalculateFrontHeadroom = network.CalculateFrontHeadroom
var CalculateRearHeadroom = network.CalculateRearHeadroom
type ReaderWithUpstream = network.ReaderWithUpstream
type WithUpstreamReader = network.WithUpstreamReader