[Pgpool-committers] pgpool - pgpool-II: Fix SSL connection sometimes hung if lots of data

User T-ishii t-ishii at pgfoundry.org
Wed May 19 19:23:49 UTC 2010


Log Message:
-----------
Fix SSL connection sometimes hung if lots of data read from backend.
This is caused by the buffering in OpenSSL layer. To fix the problem,
we check the buffer has any pending data by using SSL_pending() before
calling select(2).

See thread [Pgpool-general] Fwd: PGPOOL II 2.3.3 hang in ssl mode for
more details.

Tags:
----
V2_3_STABLE

Modified Files:
--------------
    pgpool-II:
        pool_ssl.c (r1.5 -> r1.5.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_ssl.c?r1=1.5&r2=1.5.2.1)
        pool.h (r1.58 -> r1.58.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool.h?r1=1.58&r2=1.58.2.1)
        pool_process_query.c (r1.199.2.2 -> r1.199.2.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.199.2.2&r2=1.199.2.3)


More information about the Pgpool-committers mailing list