Explorar o código

fix test break

Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
0d68293ef8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      transport/internet/websocket/wsconn.go

+ 1 - 0
transport/internet/websocket/wsconn.go

@@ -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