[Pgpool-committers] pgpool - pgpool-II: Fix connection_count_down() so that it does
User T-ishii
t-ishii at pgfoundry.org
Sun Sep 6 03:52:13 UTC 2009
Log Message:
-----------
Fix connection_count_down() so that it does decrement too much in some
corner cases. If failed to read a start up packet, or receive cancel
request etc., connection_count_down() is called and goes back to the
onnection accept loop. Problem is, at the very beginning of the
connection accept loop, if we have received a signal, we call
child_exit() which calls connection_count_down() again.
Problem report by Ryoichi TANABE. See [pgpool-general-jp: 616]
for more details.
Also unneccesary public declarations for connection_count_up() and
connection_count_down() are removed.
Tags:
----
V2_2_STABLE
Modified Files:
--------------
pgpool-II:
child.c (r1.26.2.7 -> r1.26.2.8)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/child.c?r1=1.26.2.7&r2=1.26.2.8)
pool.h (r1.36.2.4 -> r1.36.2.5)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool.h?r1=1.36.2.4&r2=1.36.2.5)
More information about the Pgpool-committers
mailing list