Nathan Mueller wrote:
> Ok, I tested this out with TLSv1 and it worked fine. I found that the
> same mistake was being made on the client side of things too so I
> included a patch for that too.
OK, attached is the patch that I applied. It does strerror() but no
elog(ERROR) on the server side if SSL_get_error() returns
SSL_ERROR_SYSCALL and SSL_read() returns 0 rather than -1. This logic
matches the SSL_get_error() manual page.
I found a few cases you missed.
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
In response to
pgsql-bugs by date
|Next:||From: Neil Conway||Date: 2002-12-12 22:54:22|
|Subject: Re: postmaster segfaults when pg_hba.cof is missing|
|Previous:||From: pgsql-bugs||Date: 2002-12-12 22:18:44|
|Subject: Bug #847: plpgsql 'raise notice' > 4000 chars disconnects pgsql backend 7.2.1|