[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:56:37 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.

Modified Files:
--------------
    pgpool-II:
        child.c (r1.33 -> r1.34)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/child.c?r1=1.33&r2=1.34)
        pool.h (r1.40 -> r1.41)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool.h?r1=1.40&r2=1.41)


More information about the Pgpool-committers mailing list