Extra debug traces for HSTS.

* src/main.c (load_hsts, save_hsts): added DEBUGP() calls to signal
   reads and saves of the HSTS database file.
This commit is contained in:
Ander Juaristi 2015-08-08 19:40:49 +02:00 committed by Tim Rühsen
parent 187edb604a
commit ab47d9fa3a
1 changed files with 5 additions and 0 deletions

View File

@ -174,6 +174,8 @@ load_hsts (void)
if (filename)
{
DEBUGP (("Reading HSTS entries from %s\n", filename));
hsts_store = hsts_store_open (filename);
if (!hsts_store)
@ -195,6 +197,9 @@ save_hsts (void)
{
char *filename = get_hsts_database ();
if (filename)
DEBUGP (("Saving HSTS entries to %s\n", filename));
hsts_store_save (hsts_store, filename);
hsts_store_close (hsts_store);