We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddcc327 commit 9afe181Copy full SHA for 9afe181
Sources/PostgresNIO/Connection/PostgresConnection.swift
@@ -64,14 +64,14 @@ public final class PostgresConnection: @unchecked Sendable {
64
65
switch configuration.tls.base {
66
case .prefer(let context), .require(let context):
67
- configureSSLCallback = { channel, postgreChannelHandler in
+ configureSSLCallback = { channel, postgresChannelHandler in
68
channel.eventLoop.assertInEventLoop()
69
70
let sslHandler = try NIOSSLClientHandler(
71
context: context,
72
serverHostname: configuration.serverNameForTLS
73
)
74
- try channel.pipeline.syncOperations.addHandler(sslHandler, position: .before(postgreChannelHandler))
+ try channel.pipeline.syncOperations.addHandler(sslHandler, position: .before(postgresChannelHandler))
75
}
76
case .disable:
77
configureSSLCallback = nil
0 commit comments