aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-11-07 12:15:30 -0500
committerNick Mathewson <nickm@torproject.org>2013-11-07 12:15:30 -0500
commit1b8ceb83c951f1cdea6b71a615a10d33b8adf2b3 (patch)
tree0046cb887736bb8007a31c6f390cdbebf5a70133 /src/test
parent82d8944928daf868d12797e59a3a58ce4cb4f205 (diff)
downloadtor-1b8ceb83c951f1cdea6b71a615a10d33b8adf2b3.tar
tor-1b8ceb83c951f1cdea6b71a615a10d33b8adf2b3.tar.gz
Improved circuit queue out-of-memory handler
Previously, when we ran low on memory, we'd close whichever circuits had the most queued cells. Now, we close those that have the *oldest* queued cells, on the theory that those are most responsible for us running low on memory, and that those are the least likely to actually drain on their own if we wait a little longer. Based on analysis from a forthcoming paper by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions