mirror of
https://github.com/servo/servo.git
synced 2025-07-30 02:30:21 +01:00
Add Http Global State Object This adds a new HttpState object which holds common http state(#10175). This reduces the amount of work that is required to add extra things to the Http state. The HttpState object currently holds: ``` hsts_list: Arc::new(RwLock::new(HSTSList::new())), cookie_jar: Arc::new(RwLock::new(CookieStorage::new())), auth_cache: Arc::new(RwLock::new(HashMap::new())), ``` <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10188) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
fetch | ||
about_loader.rs | ||
Cargo.toml | ||
cookie.rs | ||
cookie_storage.rs | ||
data_loader.rs | ||
file_loader.rs | ||
hsts.rs | ||
http_loader.rs | ||
image_cache_thread.rs | ||
lib.rs | ||
mime_classifier.rs | ||
pub_domains.rs | ||
resource_thread.rs | ||
storage_thread.rs | ||
websocket_loader.rs |