[pgpool-committers: 4514] pgpool: Fix bug with socket writing.

Tatsuo Ishii ishii at postgresql.org
Tue Jan 30 09:35:47 JST 2018


Fix bug with socket writing.

pool_write_flush() is responsible for writing to sockets when pgpool's
write buffer is full (this function was introduced in 3.6.6 etc). When
network write buffer in kernel is full, it does retrying but it forgot
to update the internal buffer pointer. As a result, broken data is
written to the socket. This results in variety of problems including
too large message length.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=0b4e3b38f9959585f4f3a40d7025111e0d7b305d

Modified Files
--------------
src/utils/pool_stream.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)



More information about the pgpool-committers mailing list