[pgpool-committers: 4242] pgpool: Remove pending message when Close Complete received.
Tatsuo Ishii
ishii at postgresql.org
Sun Sep 3 16:51:01 JST 2017
Remove pending message when Close Complete received.
When parse_before_bind() is called and a close message is sent, a
pending message is created but it is not removed later on. For usual
close message read_kind_from_backend() does not remove the pending
message because CloseComplete() does it later on. But in the code path
for parse_before_bind() gets called, CloseComplete() did not remove
the pending message. This brings loosing sync of pending messages and
messages from backend, which could cause a hang in
read_kind_from_backend().
Branch
------
V3_6_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=02131902c3778f5d7d2e1790f221129e3d748d16
Modified Files
--------------
src/protocol/pool_proto_modules.c | 7 +++++++
1 file changed, 7 insertions(+)
More information about the pgpool-committers
mailing list