[pgpool-committers: 629] pgpool: Fix inifinit loop in SSL mode. When there's pending data in SSL
Tatsuo Ishii
ishii at postgresql.org
Fri Sep 21 13:18:29 JST 2012
Fix inifinit loop in SSL mode. When there's pending data in SSL layer
of frontend, pool_process_query() checks pending data in backend. If
there's non, it loops again and checks frontend/backend receive buffer
by using is_cache_empty(). Unfortunately it first checks pending data
in SSL layer of frontend, thus goes to backend data and checks
again(infinite loop). The solution is, if there's pending data in SSL
layer of frontend and query is not in progress, call
ProcessFrontendResponse() to process new request from frontend.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=724c8930674706fa24ad72a732b5fafff0ab261c
Modified Files
--------------
pool_process_query.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
More information about the pgpool-committers
mailing list