Hysteria transport: Fix speedtest issue (#5587)
Fixes https://github.com/XTLS/Xray-core/issues/5546
This commit is contained in:
1 parent
262770564f
commit
2d2102f654
1 file changed
+1
@@ -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