[tor-bugs] #20778 [Applications/Tor Browser Sandbox]: Check and download updates in the background.

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 23 21:39:24 UTC 2016


#20778: Check and download updates in the background.
----------------------------------------------+--------------------------
 Reporter:  yawning                           |          Owner:  yawning
     Type:  enhancement                       |         Status:  accepted
 Priority:  High                              |      Milestone:
Component:  Applications/Tor Browser Sandbox  |        Version:
 Severity:  Normal                            |     Resolution:
 Keywords:  Yawning201612                     |  Actual Points:
Parent ID:                                    |         Points:
 Reviewer:                                    |        Sponsor:
----------------------------------------------+--------------------------

Comment (by yawning):

 Replying to [comment:5 arma]:
 > I think Tor Browser does its checks every 12 hours? It would be nice to
 match their schedule, since I think the metrics folks have been planning
 to estimate extant Tor Browser users by counting update checks and
 dividing by n.

 The code leads me to believe that it is every 2h.
 ```const kMinSecsBetweenChecks = 120 * 60; // 2.0 hours```

 The metrics thing is broken regardless because the way I check for updates
 (via the XML files that the update download process uses) is different
 from the way torbutton checks for updates (via the JSON file in the pref
 `extensions.torbutton.versioncheck_url` which currently points to
 https://www.torproject.org/projects/torbrowser/RecommendedTBBVersions).

 I would rather not add extra code to check for updates a different way,
 when the current method works, and is required for the update process to
 work.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20778#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list