Skip to content
Snippets Groups Projects
Commit d2031e75 authored by Maksim Kaitmazian's avatar Maksim Kaitmazian Committed by Maksim Kaitmazian
Browse files

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.
parent 989d77a2
No related branches found
No related tags found
1 merge request!920pgproto module
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment