[pgpool-committers: 3252] pgpool: Fix a posible hang during health checking

Yugo Nagata nagata at sraoss.co.jp
Wed Jun 8 21:15:03 JST 2016

Fix a posible hang during health checking

Helath checking was hang when any data wasn't sent
from backend after connect(2) succeeded. To fix this,
pool_check_fd() returns 1 when select(2) exits with
EINTR due to SIGALRM while health checkking is performed.

Reported and patch provided by harukat and some modification
by Yugo. Per bug #204.



Modified Files
src/protocol/pool_process_query.c | 10 ++++++++++
1 file changed, 10 insertions(+)

More information about the pgpool-committers mailing list