aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb_util.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-07-26 14:52:08 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-07-26 15:02:29 +0300
commitf06a632a77ed27aab087d62bd76bc52be3a2ac6f (patch)
tree674f4416f723b19f99ddd85b145eee701064d063 /src/backend/utils/adt/jsonb_util.c
parent3df7f44a8c7c456c0a0d4d02a1167e972dc24eaa (diff)
downloadpostgresql-f06a632a77ed27aab087d62bd76bc52be3a2ac6f.tar.gz
postgresql-f06a632a77ed27aab087d62bd76bc52be3a2ac6f.zip
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
Diffstat (limited to 'src/backend/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions