mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
WIP: aquatic_ws: start work on wss (ws with tls)
This commit is contained in:
parent
289658815c
commit
de9a32840f
4 changed files with 181 additions and 77 deletions
|
|
@ -32,6 +32,8 @@ pub struct NetworkConfig {
|
|||
pub peer_announce_interval: usize, // FIXME: should this really be in NetworkConfig?
|
||||
pub poll_event_capacity: usize,
|
||||
pub poll_timeout_milliseconds: u64,
|
||||
pub pkcs12_path: String,
|
||||
pub pkcs12_password: String,
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -92,6 +94,8 @@ impl Default for NetworkConfig {
|
|||
peer_announce_interval: 120,
|
||||
poll_event_capacity: 4096,
|
||||
poll_timeout_milliseconds: 50,
|
||||
pkcs12_path: "".into(),
|
||||
pkcs12_password: "".into(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue