Hysteria transport: Fix speedtest issue (#5587)

Fixes https://github.com/XTLS/Xray-core/issues/5546
This commit is contained in:
LjhAUMEM
2026-01-22 21:37:27 +08:00
committed by GitHub
parent 262770564f
commit 2d2102f654
+1
View File
@@ -24,6 +24,7 @@ func (i *interConn) Write(b []byte) (int, error) {
}
func (i *interConn) Close() error {
i.stream.CancelRead(0)
return i.stream.Close()
}