simplereach/helenus — pull request #17 by ctavan (2012-04-04 17:52:42+00:00)
Title: Pool without keyspace but with close event

When adding a test case for the keyspace-less connects I stumbled upon the problem, that a pool doesn't emit a close event as soon as all client connections have been closed.

This patch adds both, keyspaceless connects, and emission of closeevents by pools.

However something still goes wrong in the thrift test where a connection is now opened, then closed, then opened again and closed again. The test times out in the and. Apparently some connection still remains open.

Could anyone look into this? I'm stuck.