From c08225b007f5008a117e019ba498833a2e6fccf0 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 24 Nov 2024 14:50:53 +0200 Subject: [PATCH] set default timeout for SocketClient --- src/app/browser/window/tab/item/page.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/browser/window/tab/item/page.rs b/src/app/browser/window/tab/item/page.rs index 6879c1fa..2bf2b6e0 100644 --- a/src/app/browser/window/tab/item/page.rs +++ b/src/app/browser/window/tab/item/page.rs @@ -469,6 +469,7 @@ impl Page { // Init socket let client = SocketClient::new(); client.set_protocol(SocketProtocol::Tcp); + client.set_timeout(10); // @TODO // Return PEM string match request let certificate = match self