mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
fix test break
This commit is contained in:
@@ -29,6 +29,7 @@ func (c *wsconn) Read(b []byte) (int, error) {
|
||||
|
||||
nBytes, err := reader.Read(b)
|
||||
if errors.Cause(err) == io.EOF {
|
||||
c.reader = nil
|
||||
continue
|
||||
}
|
||||
return nBytes, err
|
||||
|
||||
Reference in New Issue
Block a user