Selaa lähdekoodia

fix test break

Darien Raymond 8 vuotta sitten
vanhempi
commit
0d68293ef8
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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