[pgpool-committers: 632] 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_2_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=cc0ad2eca3ba1b4f61cf40ea31d025639348fe01

Modified Files
--------------
pool_process_query.c |    3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)



More information about the pgpool-committers mailing list