mirror of https://github.com/v2ray/v2ray-core
fix test break
parent
cdb0b94046
commit
0d68293ef8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue