Hysteria transport: Fix speedtest issue (#5587)

Fixes https://github.com/XTLS/Xray-core/issues/5546
This commit is contained in:
LjhAUMEM authored and GitHub committed 2026-01-22 13:37:27 +00:00
1 parent 262770564f
commit 2d2102f654
1 file changed
+1
+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()
}