mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
fix test break
This commit is contained in:
1 file changed
+1
@@ -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