WIP: aquatic_ws: start work on wss (ws with tls)

This commit is contained in:
Joakim Frostegård 2020-05-12 18:48:50 +02:00
parent 289658815c
commit de9a32840f
4 changed files with 181 additions and 77 deletions

View file

@ -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(),
}
}
}