mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
set default timeout for SocketClient
This commit is contained in:
parent
5176ff715a
commit
c08225b007
1 changed files with 1 additions and 0 deletions
|
|
@ -469,6 +469,7 @@ impl Page {
|
||||||
// Init socket
|
// Init socket
|
||||||
let client = SocketClient::new();
|
let client = SocketClient::new();
|
||||||
client.set_protocol(SocketProtocol::Tcp);
|
client.set_protocol(SocketProtocol::Tcp);
|
||||||
|
client.set_timeout(10); // @TODO
|
||||||
|
|
||||||
// Return PEM string match request
|
// Return PEM string match request
|
||||||
let certificate = match self
|
let certificate = match self
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue