capnproto / go-capnp

Cap'n Proto library and code generator for Go

Home Page:https://capnproto.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deadlock hazard in Conn.recvPayload

zenhack opened this issue · comments

Per #385 (comment), recvPayload currently releases clients while holding the connection lock. Since in some cases Client.Release() can block, it might be possible for this to result in deadlocks. We should investigate and rework this to avoid the problem.

This ended up being fixed in #414; closing.