1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-31 03:21:24 +03:00
Heikki Linnakangas f06a632a77 Fix fallback behavior when server sends an ERROR early at startup
With sslmode=prefer, the desired behavior is to completely fail the
connection attempt, *not* fall back to a plaintext connection, if the
server responds to the SSLRequest with an error ('E') response instead
of rejecting SSL with an 'N' response. This was broken in commit
05fd30c0e7.

Reported-by: Jacob Champion
Reviewed-by: Michael Paquier
Discussion: https://www.postgresql.org/message-id/CAOYmi%2Bnwvu21mJ4DYKUa98HdfM_KZJi7B1MhyXtnsyOO-PB6Ww%40mail.gmail.com
Backpatch-through: 17
2024-07-26 15:02:29 +03:00
..
2024-07-26 11:09:45 +02:00
2024-07-08 22:12:42 +09:00
2024-07-26 11:09:45 +02:00
2024-02-28 15:17:23 +04:00
2024-07-25 14:48:18 +12:00
2024-01-03 20:49:05 -05:00
2023-11-06 15:18:04 +01:00
2024-02-28 15:17:23 +04:00
2024-01-03 20:49:05 -05:00
2023-11-06 15:18:04 +01:00