mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
net: Add option to temporarily accept certs that failed the handshake.
This commit is contained in:
parent
433c154595
commit
6a6662195e
8 changed files with 73 additions and 13 deletions
|
@ -30,6 +30,7 @@ use ipc_channel::router::ROUTER;
|
|||
use ipc_channel::Error as IpcError;
|
||||
use mime::Mime;
|
||||
use msg::constellation_msg::HistoryStateId;
|
||||
use servo_rand::RngCore;
|
||||
use servo_url::{ImmutableOrigin, ServoUrl};
|
||||
use time::precise_time_ns;
|
||||
use webrender_api::{ImageData, ImageDescriptor, ImageKey};
|
||||
|
@ -811,3 +812,7 @@ impl WebrenderIpcSender {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
lazy_static! {
|
||||
pub static ref PRIVILEGED_SECRET: u32 = servo_rand::ServoRng::new().next_u32();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue