-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Labels
type: enhancementA general enhancementA general enhancement
Milestone
Description
Feature Request
Is your feature request related to a problem? Please describe
Some SSL-aware proxies relies on the SNI to route connections[1]. Also, libpq
sends SNI by default[2]. I think it's better for r2dbc-postgresql to provide an option to support SNI as well.
[1] https://www.postgresql.org/message-id/[email protected]
[2] https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-SSLSNI
Describe the solution you'd like
IMO, there should be an option to control the behavior, for example a global / per connection, and turn it on by default to be aligned with libpq
, and then the lib sets SNI accordingly in the createSslProvider
.
Describe alternatives you've considered
None
Teachability, Documentation, Adoption, Migration Strategy
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement