fix: perform read only if ibuff is empty
If ibuff is not empty we should read messages from the buffer. Reading messages when the buffer is not empty may lead to deadlock, for instance, if the frontend send a series of queries and waits backend response to send other messages, while backend tries to read new messages.
Loading
Please register or sign in to comment