mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Comment about having two dates for a pac provider
This commit is contained in:
parent
26fc0c4de3
commit
4965921c06
|
@ -245,6 +245,12 @@
|
||||||
Do something, e.g. initiate PAC sync.
|
Do something, e.g. initiate PAC sync.
|
||||||
*/
|
*/
|
||||||
ifFirstInstall: false,
|
ifFirstInstall: false,
|
||||||
|
/* We have .lastPacUpdateStamp and ._currentPacProviderLastModified.
|
||||||
|
LastModified is received from a server, we kind of don't trust it,
|
||||||
|
just use it for cache and maybe show to the user.
|
||||||
|
UpdateStamp is got from client and we base our timers on it,
|
||||||
|
malicious server can't interfere with it.
|
||||||
|
*/
|
||||||
lastPacUpdateStamp: 0,
|
lastPacUpdateStamp: 0,
|
||||||
|
|
||||||
setTitle() {
|
setTitle() {
|
||||||
|
@ -257,7 +263,7 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_currentPacProviderLastModified: 0, // Not initialized.
|
_currentPacProviderLastModified: 0,
|
||||||
|
|
||||||
getLastModifiedForKey(key = mandatory()) {
|
getLastModifiedForKey(key = mandatory()) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user