mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Reuse HttpState in ResourceGroup
This commit is contained in:
parent
016fee016b
commit
8683f4d43e
2 changed files with 16 additions and 20 deletions
|
@ -65,6 +65,7 @@ fn read_block<R: Read>(reader: &mut R) -> Result<Data, ()> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct HttpState {
|
||||
pub hsts_list: Arc<RwLock<HstsList>>,
|
||||
pub cookie_jar: Arc<RwLock<CookieStorage>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue