mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-02 17:58:46 +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 {
|
func (i *interConn) Close() error {
|
||||||
|
i.stream.CancelRead(0)
|
||||||
return i.stream.Close()
|
return i.stream.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user