mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
fix guest tls connection init
This commit is contained in:
parent
a63e05685c
commit
3791cbc4d0
2 changed files with 12 additions and 29 deletions
|
|
@ -74,10 +74,6 @@ impl Client {
|
|||
certificate: Option<TlsCertificate>,
|
||||
callback: impl Fn(Result<connection::Response, Error>) + 'static,
|
||||
) {
|
||||
// Toggle socket mode
|
||||
// * guest sessions will not work without!
|
||||
self.socket.set_tls(certificate.is_none());
|
||||
|
||||
// Begin new connection
|
||||
// * [NetworkAddress](https://docs.gtk.org/gio/class.NetworkAddress.html) required for valid
|
||||
// [SNI](https://geminiprotocol.net/docs/protocol-specification.gmi#server-name-indication)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue