projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cccab85
)
Fix outdated comment after removal of direct SSL fallback
author
Heikki Linnakangas
<
[email protected]
>
Mon, 8 Jul 2024 09:44:45 +0000
(12:44 +0300)
committer
Heikki Linnakangas
<
[email protected]
>
Mon, 8 Jul 2024 09:44:56 +0000
(12:44 +0300)
The option to fall back from direct SSL to negotiated SSL or a
plaintext connection was removed in commit
fb5718f35f
.
Discussion: https://www.postgresql.org/message-id/
c82ad227
-e049-4e18-8898-
475a748b5a5a
@iki.fi
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index 071b1b34aa1184d692b4ddd38b04683b8bd4a503..e003279fb6c4983bb3b3db732eb275a19e4b4cd7 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-3564,8
+3564,8
@@
keep_going: /* We will come back to here until there is
if (pollres == PGRES_POLLING_FAILED)
{
/*
- *
Failed direct ssl connection, possibly try a new
- * connection
with postgres negotiation
+ *
SSL handshake failed. We will retry with a plaintext
+ * connection
, if permitted by sslmode.
*/
CONNECTION_FAILED();
}