Asks for TLS and starts it, as ssl_mode requires. Does nothing for a Unix socket.
- c: the connection to upgrade.
- config: the settings:
ssl_mode,ssl_directand the TLS options.
negotiate_tls :: (c: *Connection, config: Config) -> Pg_Error
Asks for TLS and starts it, as ssl_mode requires. Does nothing for a Unix socket.
Parameters
- c: *Connection
- the connection to upgrade.
- config: Config
- the settings:
ssl_mode,ssl_directand the TLS options.