]> git.ipfire.org Git - thirdparty/tor.git/commit
Refactor OOM-handling functions for more testability
authorNick Mathewson <nickm@torproject.org>
Mon, 13 Jan 2014 14:52:07 +0000 (09:52 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 12 Feb 2014 17:48:20 +0000 (12:48 -0500)
commit9a07ec751ff73062b958a8fc9f8437bed72e144c
treef603ecc2eed23118c7e848f0a80d0b00a665e262
parent52d222aafbc21d674624fdd4c8fc834a40af69c7
Refactor OOM-handling functions for more testability

This patch splits out some of the functions in OOM handling so that
it's easier to check them without involving the rest of Tor or
requiring that the circuits be "wired up".
src/or/circuitlist.c
src/or/circuitlist.h
src/or/relay.c
src/or/relay.h