Dillo v3.1.1-119-g140d9ebd
|
Go to the source code of this file.
Functions | |
void | a_Hsts_init (FILE *fp) |
void | a_Hsts_set (const char *header, const DilloUrl *url) |
The reponse for this url had an HSTS header, so let's take action. | |
bool_t | a_Hsts_require_https (const char *host) |
void | a_Hsts_freeall (void) |
void a_Hsts_freeall | ( | void | ) |
Definition at line 55 of file hsts.c.
References dList_free(), dList_length(), dList_nth_data(), domains, Hsts_free_policy(), DilloPrefs::http_strict_transport_security, and prefs.
Referenced by main().
void a_Hsts_init | ( | FILE * | fp | ) |
Definition at line 357 of file hsts.c.
References dList_new(), domains, hsts_latest_representable_time, Hsts_preload(), DilloPrefs::http_strict_transport_security, and prefs.
Referenced by main().
bool_t a_Hsts_require_https | ( | const char * | host | ) |
Definition at line 271 of file hsts.c.
References _MSG, FALSE, Hsts_expired(), Hsts_get_policy(), Hsts_remove_policy(), and TRUE.
Referenced by a_Url_new().
void a_Hsts_set | ( | const char * | header, |
const DilloUrl * | url | ||
) |
The reponse for this url had an HSTS header, so let's take action.
Definition at line 201 of file hsts.c.
References _MSG, a_Tls_certificate_is_clean(), dFree(), dStrAsciiCasecmp(), FALSE, Hsts_eat_value(), Hsts_get_policy(), Hsts_parse_attr(), Hsts_parse_value(), Hsts_remove_policy(), Hsts_set_policy(), MSG, TRUE, and URL_HOST.
Referenced by Cache_parse_header().