You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To continue after S, perform an SSL startup handshake (not described here, part of the SSL specification) with the server.
The problem I'm having is that Conduit's interface seems to only let me select TLS at startup with no way upgrade a connection.
Looking through the code, I suspect I just need to call Ssl.connect with my already-open reader and writer and then use the result, but this is part of the private interface.
Could something like this be exposed in the public interface? The only change I would suggest is renaming Ssl.connect to Ssl.upgrade_existing_connection or something like that.
The text was updated successfully, but these errors were encountered:
I'm trying to implement STARTTLS for Pgx and I was hoping I could use Conduit for this.
The PostgreSQL documentation says I need to send a few packets, check a response, and then:
The problem I'm having is that Conduit's interface seems to only let me select TLS at startup with no way upgrade a connection.
Looking through the code, I suspect I just need to call
Ssl.connect
with my already-open reader and writer and then use the result, but this is part of the private interface.Could something like this be exposed in the public interface? The only change I would suggest is renaming
Ssl.connect
toSsl.upgrade_existing_connection
or something like that.The text was updated successfully, but these errors were encountered: