diff options
author | Sebastian C <sebsebmc@gmail.com> | 2025-05-14 23:06:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-15 04:06:57 +0000 |
commit | 103cbed928b0b9ecd7084b5e9dcab135eca19327 (patch) | |
tree | 679e9fd5ab2233531215a6dd3e97afd81b97c139 /tests/wpt/css-tests/css-backgrounds-3_dev/html4/ttwf-css3background-border-style-values.htm | |
parent | c26877a79df0ff1c80ea0e80635be86eb1d6fcd9 (diff) | |
download | servo-main.tar.gz servo-main.zip |
Combines the 2 time values in the HSTS entry with a single timestamp for
expiration. (9MB savings per list)
The previous time representations were based on system boot time which
meant that the `hsts_list.json` round trip across boots resulted in
completely erroneous expiration times.
The preload list is now initialized separately from the public and
private lists and shared by both, cutting memory use in half.
Overall takes memory use from 64MB for HSTS to 24MB.
Expired HSTS entries are now removed from the list when updating an
entry and subdomains can be added to a list if the superdomain does not
already include them.
Testing: New unit tests added
Related to #25929 but the next step would be to attempt to use
https://github.com/BurntSushi/fst Which will be explored in a follow-up.
---------
Signed-off-by: Sebastian C <sebsebmc@gmail.com>
Diffstat (limited to 'tests/wpt/css-tests/css-backgrounds-3_dev/html4/ttwf-css3background-border-style-values.htm')
0 files changed, 0 insertions, 0 deletions