Add some comments
authorTatsuo Ishii <ishii at sraoss.co.jp>
Mon, 17 Apr 2006 08:28:25 +0000 (08:28 +0000)
committerTatsuo Ishii <ishii at sraoss.co.jp>
Mon, 17 Apr 2006 08:28:25 +0000 (08:28 +0000)
child.c

diff --git a/child.c b/child.c
index 4bf85b639a284446ad41498f371a4f97d0c61ba8..e46822cb2e5a2be16da304816c5d32f856259539 100644 (file)
--- a/child.c
+++ b/child.c
@@ -896,6 +896,9 @@ static POOL_CONNECTION_POOL *connect_backend(StartupPacket *sp, POOL_CONNECTION
        return backend;
 }
 
+/*
+ * signal handler for SIGINT and SIGQUUT
+ */
 static RETSIGTYPE die(int sig)
 {
        exit_request = 1;
@@ -925,6 +928,10 @@ static RETSIGTYPE die(int sig)
        exit(0);
 }
 
+/*
+ * signal handler for SIGHUP
+ * close all idle connections
+ */
 static RETSIGTYPE close_idle_connection(int sig)
 {
        int i;