mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-05-14 10:00:34 +00:00
Hysteria transport: Fix speedtest issue (#5587)
Fixes https://github.com/XTLS/Xray-core/issues/5546
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user