Browse Source

after reading an event dont try to dispatch it

Chris Bannister 10 năm trước cách đây
mục cha
commit
c18e5b3ba2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      conn.go

+ 1 - 0
conn.go

@@ -401,6 +401,7 @@ func (c *Conn) recv() error {
 			return err
 		}
 		go c.session.handleEvent(framer)
+		return nil
 	} else if head.stream <= 0 {
 		// reserved stream that we dont use, probably due to a protocol error
 		// or a bug in Cassandra, this should be an error, parse it and return.