mirror of
https://github.com/servo/servo.git
synced 2025-06-21 07:38:59 +01:00
Refactored HSTSList to use HashMap, where the key of HashMap is the base domain. Every time when we check if a host is secure, we find the base domain of the host and get a vector of HSTS entries associated with the base domain. While this will not give O(1) look up time, we would have a smaller list to iterate for every lookup. I have added one unit test to validate HashMap changes. |
||
---|---|---|
.. | ||
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 |