Преглед изворни кода

after reading an event dont try to dispatch it

Chris Bannister пре 10 година
родитељ
комит
c18e5b3ba2
1 измењених фајлова са 1 додато и 0 уклоњено
  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.