[pgpool-committers: 4517] 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_7_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=22f739a91cfd4330a2766f3815f1acf519da3195
Modified Files
--------------
src/utils/pool_stream.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
More information about the pgpool-committers
mailing list