mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
8aa69a1b69
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.
8 lines
434 B
Plaintext
8 lines
434 B
Plaintext
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.
|