v0.34.4
This commit is contained in:
1 parent
1fd81eaf5f
commit
ee174bc283
36 files changed
+908
-183
No files matched your search
@@ -25,6 +25,9 @@ pub struct Settings {
|
||||
#[serde(default)]
|
||||
pub certificates: Vec<Certificate>,
|
||||
pub policy: ProtocolPolicy,
|
||||
/// Derived from explicitly confirmed Vhosts; never accepted from TLS JSON.
|
||||
#[serde(skip)]
|
||||
pub forced_mismatches: HashSet<(String, String)>,
|
||||
}
|
||||
impl Default for Settings {
|
||||
fn default() -> Self {
|
||||
@@ -32,6 +35,7 @@ impl Default for Settings {
|
||||
default_certificate: None,
|
||||
certificates: Vec::new(),
|
||||
policy: ProtocolPolicy::default(),
|
||||
forced_mismatches: HashSet::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user