mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-05 07:54:14 +00:00
set default timeout
This commit is contained in:
parent
6cb2f0ebea
commit
a044fe82dd
@ -55,6 +55,7 @@ impl Page {
|
||||
"gemini" => {
|
||||
let client = SocketClient::new();
|
||||
|
||||
client.set_timeout(10);
|
||||
client.set_tls(true);
|
||||
client.set_tls_validation_flags(TlsCertificateFlags::INSECURE);
|
||||
client.set_protocol(SocketProtocol::Tcp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user