kentonv/capnproto — pull request #157 by mortehu (2014-12-08 18:48:17+00:00)
Title: Wait for writeable, rather than readable, socket on connect.

On our system, this change is necessary to be able to establish remote connections. Local connections finish so quickly that the first poll() call returns 0, so whenBecomesReadable() is never called.