[pgpool-committers: 4515] 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_6_STABLE

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

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



More information about the pgpool-committers mailing list