racker/node-rproxy — pull request #8 by Kami (2013-04-29 19:42:45+00:00)
Title: Fix the connection race issue

Currently `CassandraClient.prototype._execute` can be called before connection has been fully established.

This is bad, because there are underlying race conditions and has an undefined behavior.

With this change we wait for the `connect` callback to be called before executing a first query.