gecko-dev/servo/components/net
Sam Gibson 69f6c7e1ca servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-preload); r=jdm
Implement HSTS (preload-only) servo/servo#6105

* Downloads the HSTS preload list from the chromium repo (same as gecko), then convert it to a list appropriate for servo.
* Reads the preload list when creating a resource task, and implements STS for those domains.

Still todo:

* Read Strict-Transport-Security headers from servers and add details to the in-memory HSTS list. (note: this requires hyper or servo to implement an STS header struct. Hyper seems like the appropriate location, so I will create an issue/PR there soon). The work for this is nearly done with the exception of adding a new ControlMsg and the new header.
* Persist HSTS list to disk with known hosts (perhaps a different issue should be raised for this?)

Source-Repo: https://github.com/servo/servo
Source-Revision: ab3d6c472d409c1602c873dcdcb495a7fec9d4b0
2015-07-22 10:23:05 -06:00
..
fetch servo: Merge #6591 - Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) (from servo:rustup_2015-07-10); r=larsbergstrom 2015-07-14 13:40:22 -06:00
Cargo.toml servo: Merge #6648 - Make tidy check for "*" in toml files (from boghison:tidytoml); r=jdm 2015-07-20 14:43:05 -06:00
about_loader.rs servo: Merge #5935 - Upgrade Rust (from servo:rustup_2015-04-25); r=Ms2ger 2015-05-05 09:11:30 -05:00
cookie.rs servo: Merge #6325 - Use str::parse() rather than FromStr::from_str (from Ms2ger:from_str); r=nox 2015-06-14 03:55:56 -06:00
cookie_storage.rs servo: Merge #6174 - Reduce max line length from 150 to 120 characters (from frewsxcv:cleanup-long-lines); r=SimonSapin 2015-05-24 18:27:26 -05:00
data_loader.rs servo: Merge #5935 - Upgrade Rust (from servo:rustup_2015-04-25); r=Ms2ger 2015-05-05 09:11:30 -05:00
file_loader.rs servo: Merge #5935 - Upgrade Rust (from servo:rustup_2015-04-25); r=Ms2ger 2015-05-05 09:11:30 -05:00
hsts.rs servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-preload); r=jdm 2015-07-22 10:23:05 -06:00
http_loader.rs servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-preload); r=jdm 2015-07-22 10:23:05 -06:00
image_cache_task.rs servo: Merge #6314 - Audit and reduce usage of unstable features (from Manishearth:feature_audit); r=mbrubeck 2015-06-09 14:31:42 -06:00
lib.rs servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-preload); r=jdm 2015-07-22 10:23:05 -06:00
mime_classifier.rs servo: Merge #6450 - Remove is_some() from mime_classifier.rs (from pyfisch:patch-1); r=metajack 2015-06-23 15:14:30 -06:00
net_error_list.rs servo: Merge #6175 - Embedding: revenge of cargo (from zmike:embedding-REVENGE_OF_CARGO); r=larsbergstrom 2015-05-27 14:17:32 -05:00
pub_domains.rs servo: Merge #4519 - Cookie support (from jdm:cookies); r=Ms2ger 2015-02-04 11:57:54 -07:00
resource_task.rs servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-preload); r=jdm 2015-07-22 10:23:05 -06:00
storage_task.rs servo: Merge #6174 - Reduce max line length from 150 to 120 characters (from frewsxcv:cleanup-long-lines); r=SimonSapin 2015-05-24 18:27:26 -05:00