| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Nathan Mueller <nmueller(at)cs(dot)wisc(dot)edu> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: Bug #838: SSL problems in 7.3 |
| Date: | 2002-12-12 22:44:14 |
| Message-ID: | 200212122244.gBCMiEL09800@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
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
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 2.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Neil Conway | 2002-12-12 22:54:22 | Re: postmaster segfaults when pg_hba.cof is missing |
| Previous Message | pgsql-bugs | 2002-12-12 22:18:44 | Bug #847: plpgsql 'raise notice' > 4000 chars disconnects pgsql backend 7.2.1 |