[pgpool-committers: 4516] 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
------
V3_5_STABLE

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

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



More information about the pgpool-committers mailing list