mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
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.
7 lines
434 B
Text
7 lines
434 B
Text
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.
|