Browse Source

set default timeout

master
yggverse 2 months ago
parent
commit
a044fe82dd
  1. 1
      src/browser/main/tab/page/mod.rs

1
src/browser/main/tab/page/mod.rs

@ -55,6 +55,7 @@ impl Page {
"gemini" => { "gemini" => {
let client = SocketClient::new(); let client = SocketClient::new();
client.set_timeout(10);
client.set_tls(true); client.set_tls(true);
client.set_tls_validation_flags(TlsCertificateFlags::INSECURE); client.set_tls_validation_flags(TlsCertificateFlags::INSECURE);
client.set_protocol(SocketProtocol::Tcp); client.set_protocol(SocketProtocol::Tcp);

Loading…
Cancel
Save