[pgpool-committers: 630] 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:30 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
------
V3_0_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=72ba5010a2953a1cf6e5f30f520f011ae2c51484
Modified Files
--------------
pool_process_query.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
More information about the pgpool-committers
mailing list