[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] 'Saving HSTS entries to' bug

From: Tim Ruehsen
Subject: Re: [Bug-wget] 'Saving HSTS entries to' bug
Date: Tue, 24 May 2016 13:15:06 +0200
User-agent: KMail/4.14.10 (Linux/4.5.0-2-amd64; KDE/4.14.20; x86_64; ; )

Hi Ander,

after applying your patch I still see changes in store->table (resp. changes 
of the contents of the entries) without tagging store as changed.

Everywhere you change something that gets dumped to the disk database *must* 
set the store->changed flag.

For example:
        wget -d www.yahoo.com
twice shows updating the HSTS database only for the first time (taking a nap 
of two seconds between) - the max_age should be updated in the database for 
both invocations.


On Tuesday 24 May 2016 12:26:39 Ander Juaristi wrote:
> Yes, I guess you're right.
> Have a look at this.
> On 24/05/16 11:48, Tim Ruehsen wrote:
> >> But
> >> again, I don't think it pays off for the sole reason of removing a debug
> >> message.
> > 
> > Sorry, I forgot to mention, that it is about writing the database when it
> > is not needed. Just think of someone having a larg HSTS database in
> > combination with lot's of short-live invocations of wget.
> > 
> > Tim

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]