瀏覽代碼

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
 			return err
 		}
 		}
 		go c.session.handleEvent(framer)
 		go c.session.handleEvent(framer)
+		return nil
 	} else if head.stream <= 0 {
 	} else if head.stream <= 0 {
 		// reserved stream that we dont use, probably due to a protocol error
 		// 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.
 		// or a bug in Cassandra, this should be an error, parse it and return.