mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
CookieStorage has been refactored to use HashMap with base domain as the key. Values of hashmap is vector of cookies. CookieStorage now has max_per_host which restricts maximum cookies that can be added per base domain. Cookie eviction doesnot take place if max_per_host is not reached. Cookie eviction logic implemented here does following steps 1) Evict all expired cookies 2) Remove oldest accessed non-secure cookie If any 3) When no non-secure cookie exist, remove oldest accessed secure cookie if new cookie being added is secure. Else ignore new cookie |
||
---|---|---|
.. | ||
fetch | ||
blob_loader.rs | ||
Cargo.toml | ||
chrome_loader.rs | ||
connector.rs | ||
content_blocker.rs | ||
cookie.rs | ||
cookie_storage.rs | ||
data_loader.rs | ||
filemanager_thread.rs | ||
hsts.rs | ||
http_loader.rs | ||
image_cache_thread.rs | ||
lib.rs | ||
mime_classifier.rs | ||
resource_thread.rs | ||
storage_thread.rs | ||
websocket_loader.rs |