infinipool/ezk — pull request #13 by lefant (2012-06-26 10:11:45+00:00)
Title: failing handshake can indefinitely block connection and connection manager

the receive in ezk_connection:establish_connection/4 will block forever if there is no reply to the handshake.

this will not only stop reconnect attempts from happening, but also block the connection manager who is waiting for the return from start / start_link, since this code is run from init/1.