diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-03-13 15:38:20 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-03-28 19:55:03 +0200 |
commit | 8aa69a1b69b64185333fb1b6e74d55fc5e341fd8 (patch) | |
tree | 376215dbef2ca72b2638956fabd14f6294c33bbc /changes | |
parent | 8587f663ee5f8f4af4fbbd5542116eb22ed1814e (diff) | |
download | tor-8aa69a1b69b64185333fb1b6e74d55fc5e341fd8.tar.gz tor-8aa69a1b69b64185333fb1b6e74d55fc5e341fd8.zip |
Refactor the directory spool implementation
The old implementation had duplicated code in a bunch of places, and
it interspersed spool-management with resource management. The new
implementation should make it easier to add new resource types and
maintain the spooling code.
Closing ticket 21651.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/new_spooling_backend | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/new_spooling_backend b/changes/new_spooling_backend new file mode 100644 index 0000000000..a100688900 --- /dev/null +++ b/changes/new_spooling_backend @@ -0,0 +1,7 @@ + o Code simplification and refactoring: + - The logic that directory caches use to spool request to clients, + serving them one part at a time so as not to allocate too much memory, + has been refactored for consistency. Previously there was a separate + spooling implementation per type of spoolable data. Now there + is one common spooling implementation, with extensible data types. + Closes ticket 21651. |