[pgpool-committers: 528] pgpool: Fix pool_ssl_read. When SSL_read returns unknown error, treat a

Tatsuo Ishii ishii at postgresql.org
Fri Jul 20 12:07:36 JST 2012


Fix pool_ssl_read. When SSL_read returns unknown error, treat as if
EOF detected and returns 0 to caller (pool_read). This is same as
libpq's behavior. Also this will avoid unwanted failover ini
pool_read. pool_read triggers failover if underlying I/O functions,
read(2) or pool_ssl_read returns -1.

Branch
------
master

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

Modified Files
--------------
pool_ssl.c |    9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list