From c4812698c3df0bd8aa51c615b0274bbb53b9eb6c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 23 Sep 2020 14:08:24 -0400 Subject: Remove long-obsolete members from the state file. Tor has a feature to preserve unrecognized state file entries in order to maintain forward compatibility. But this feature, along with some unused code that we never actually removed, led to us keeping items that were of no use to the user, other than at worst to preserve ancient information about them. This commit adds a feature to remove obsolete entries when we load the file. Closes ticket 40137. --- changes/ticket40137 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changes/ticket40137 (limited to 'changes') diff --git a/changes/ticket40137 b/changes/ticket40137 new file mode 100644 index 0000000000..056f1bc4a5 --- /dev/null +++ b/changes/ticket40137 @@ -0,0 +1,6 @@ + o Minor features (state): + - When loading the state file, remove entries from the statefile that + have been obsolete for a long time. Ordinarily Tor preserves + unrecognized entries in order to keep forward-compatibility, but + these statefile entries have not actually been used in any release + since before the 0.3.5.x. Closes ticket 40137. -- cgit v1.2.3-54-g00ecf