mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
set default timeout for SocketClient
This commit is contained in:
parent
5176ff715a
commit
c08225b007
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user