tor/src/or
Nick Mathewson 9a07ec751f 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".
2014-02-12 12:48:20 -05:00
..
addressmap.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
addressmap.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
buffers.c Start writing tests for 10169. 2014-02-12 12:47:49 -05:00
buffers.h Start writing tests for 10169. 2014-02-12 12:47:49 -05:00
channel.c Merge remote-tracking branch 'origin/maint-0.2.4' 2013-10-02 22:40:01 -04:00
channel.h Merge remote-tracking branch 'origin/maint-0.2.4' 2013-10-02 22:40:01 -04:00
channeltls.c Merge remote-tracking branch 'origin/maint-0.2.4' 2014-02-09 21:41:59 -05:00
channeltls.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circpathbias.c Appease make check-spaces 2013-10-31 14:45:20 -04:00
circpathbias.h Make circpathbias and circuitbuild compile. 2013-10-31 14:28:49 -04:00
circuitbuild.c Merge remote-tracking branch 'public/feature9777_024_squashed' 2014-02-07 10:47:34 -05:00
circuitbuild.h Move pathbias functions into a new file. 2013-10-31 14:17:49 -04:00
circuitlist.c Refactor OOM-handling functions for more testability 2014-02-12 12:48:20 -05:00
circuitlist.h Refactor OOM-handling functions for more testability 2014-02-12 12:48:20 -05:00
circuitmux_ewma.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitmux_ewma.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitmux.c Merge branch 'morestats4' into morestats5 2013-10-28 12:09:42 +01:00
circuitmux.h Appease "make check-spaces" 2013-07-15 17:35:56 -04:00
circuitstats.c Cleanup whitespaces 2013-08-25 12:22:20 -04:00
circuitstats.h Cleanup whitespaces 2013-08-25 12:22:20 -04:00
circuituse.c Merge remote-tracking branch 'origin/maint-0.2.4' 2013-12-21 21:16:06 -05:00
circuituse.h Stop frobbing timestamp_dirty as our sole means to mark circuits unusable 2013-02-19 18:29:17 -05:00
command.c Merge branch 'prop221_squashed_024' 2013-11-01 10:28:01 -04:00
command.h Tweak CELL_STATS event based on comments by nickm. 2013-05-25 19:51:38 +02:00
config_codedigest.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
config.c Merge remote-tracking branch 'public/bug10169_024' into bug10169_025_v2 2014-02-12 12:44:58 -05:00
config.h Whoops; make options_validate conform to validate_fn_t. 2013-09-13 12:36:40 -04:00
confparse.c Free the smartlist after parsing csv config option 2013-10-09 23:16:57 +00:00
confparse.h Add a --dump-config option to help testing option parsing. 2013-09-13 12:36:40 -04:00
connection_edge.c whitespace fixes 2014-01-17 12:41:56 -05:00
connection_edge.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
connection_or.c Merge remote-tracking branch 'origin/maint-0.2.4' 2014-02-07 10:38:24 -05:00
connection_or.h White-box tests for the succeeding case of ext_or_port handshake. 2013-08-15 12:03:37 -04:00
connection.c Merge remote-tracking branch 'origin/maint-0.2.4' 2014-02-07 10:38:24 -05:00
connection.h Merge branch 'morestats4' into morestats5 2013-10-28 12:09:42 +01:00
control.c fix longname returned in HS_DESC control events 2014-02-06 16:13:55 -05:00
control.h fix longname returned in HS_DESC control events 2014-02-06 16:13:55 -05:00
cpuworker.c collect and log statistics about onionskins received/processed 2013-09-05 01:44:52 -04:00
cpuworker.h Merge branch 'time_based_onionqueue_v2' of ssh://git-rw.torproject.org/nickm/tor 2013-01-24 08:10:12 -08:00
directory.c Merge branch 'bug10881' 2014-02-11 11:42:06 -05:00
directory.h fix trivial typo 2014-02-10 16:05:35 -05:00
dirserv.c More fixes to rip out all of the v2 directory code. 2014-02-03 13:34:30 -05:00
dirserv.h Rip out all of the v2 directory code. 2014-01-29 15:17:05 -05:00
dirvote.c Merge remote-tracking branch 'origin/maint-0.2.4' 2013-12-17 13:18:00 -05:00
dirvote.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
dns.c Fix compilation with libevent 1 2013-09-19 20:25:05 -04:00
dns.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
dnsserv.c When launching a resolve request on behalf of an AF_UNIX control, omit the address field of the new entry connection. Fixes bug 8639. 2013-05-31 15:35:51 -07:00
dnsserv.h Fix some wide lines 2013-03-18 15:39:11 -04:00
entrynodes.c Fix get_configured_bridge_by_addr_port_digest(.,.,NULL) 2013-12-09 11:22:22 -05:00
entrynodes.h Merge remote-tracking branch 'public/bug5018' 2013-10-29 01:29:59 -04:00
eventdns_tor.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
ext_orport.c Fix some #5040 bugs found by Nick's tests. 2013-08-15 12:03:38 -04:00
ext_orport.h Write some free_all functions to free the auth. cookies. 2013-08-15 12:03:38 -04:00
fp_pair.c Implement fp_pair_map_t 2013-05-09 10:54:55 -07:00
fp_pair.h Implement fp_pair_map_t 2013-05-09 10:54:55 -07:00
geoip.c Add a clientmap_entry_free(). 2013-08-15 12:03:36 -04:00
geoip.h Write extra-info bridge-ip-transports lines. 2013-07-18 14:59:57 -04:00
hibernate.c Tweak/cleanup 5526 fix. 2013-08-21 13:41:53 -04:00
hibernate.h Print accounting information in heartbeat messages. 2013-08-21 13:26:57 -04:00
include.am Move pathbias functions into a new file. 2013-10-31 14:17:49 -04:00
main.c Deliver circuit handshake counts as part of the heartbeat 2014-02-06 13:03:01 -05:00
main.h White-box tests for the succeeding case of ext_or_port handshake. 2013-08-15 12:03:37 -04:00
Makefile.nmake Merge bug5595-v2-squashed into maint-0.2.4 2013-05-10 19:39:48 -07:00
microdesc.c Merge remote-tracking branch 'origin/maint-0.2.4' 2013-12-17 13:54:02 -05:00
microdesc.h Log fname:lineno in log messages for #7164 2013-03-13 10:42:58 -04:00
networkstatus.c Rip out all of the v2 directory code. 2014-01-29 15:17:05 -05:00
networkstatus.h Rip out all of the v2 directory code. 2014-01-29 15:17:05 -05:00
nodelist.c Merge remote-tracking branch 'houqp/hs_control_fix' 2014-02-07 12:22:56 -05:00
nodelist.h fix longname returned in HS_DESC control events 2014-02-06 16:13:55 -05:00
ntmain.c Fix a windows compilation warning from 4647 branch 2013-09-13 13:10:17 -04:00
ntmain.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_fast.c fix typos 2013-08-23 21:43:57 -04:00
onion_fast.h Wrap more macro definitions in (parentheses) 2013-02-09 00:16:04 -05:00
onion_ntor.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_ntor.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_tap.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_tap.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion.c Add explicit check for 0-length extend2 cells 2014-01-03 10:43:09 -05:00
onion.h refactor and give it unit tests 2013-09-04 23:21:45 -04:00
or.h Merge remote-tracking branch 'public/bug10169_024' into bug10169_025_v2 2014-02-12 12:44:58 -05:00
policies.c On END_REASON_EXITPOLICY, mark circuit as unusable for that address. 2013-03-11 23:37:47 -04:00
policies.h Increase POLICY_BUF_LEN to 72 to accomodate IPv6 exit policy items. 2013-08-26 11:30:09 -04:00
reasons.c When we get an END cell before CONNECTED, don't report SOCKS success 2013-01-16 12:09:49 -05:00
reasons.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
relay.c Refactor OOM-handling functions for more testability 2014-02-12 12:48:20 -05:00
relay.h Refactor OOM-handling functions for more testability 2014-02-12 12:48:20 -05:00
rendclient.c Merge remote-tracking branch 'public/bug10722' 2014-02-11 10:08:58 -05:00
rendclient.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
rendcommon.c Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 2013-06-18 14:45:29 -04:00
rendcommon.h Remove some totally unused functions 2013-02-23 23:31:31 -05:00
rendmid.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
rendmid.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
rendservice.c Add missing includes for circpathbias.h 2013-10-31 14:33:34 -04:00
rendservice.h Fix an uninitialized-read when parsing v3 introduction requests. 2013-08-10 17:49:51 -04:00
rephist.c Merge remote-tracking branch 'origin/maint-0.2.4' 2014-02-06 13:27:04 -05:00
rephist.h collect and log statistics about onionskins received/processed 2013-09-05 01:44:52 -04:00
replaycache.c Use size_t for length in replaycache_add_test_and_elapsed() 2013-08-04 09:29:22 -04:00
replaycache.h Use size_t for length in replaycache_add_test_and_elapsed() 2013-08-04 09:29:22 -04:00
router.c Remove options for configuring HS authorities. 2014-02-10 22:41:52 -05:00
router.h remove node_describe_by_id() function 2014-02-06 16:13:55 -05:00
routerlist.c More fixes to rip out all of the v2 directory code. 2014-02-03 13:34:30 -05:00
routerlist.h Rip out all of the v2 directory code. 2014-01-29 15:17:05 -05:00
routerparse.c More fixes to rip out all of the v2 directory code. 2014-02-03 13:34:30 -05:00
routerparse.h Rip out all of the v2 directory code. 2014-01-29 15:17:05 -05:00
routerset.c Fix typos in a few log messages 2013-03-10 22:59:19 -04:00
routerset.h When excluding nodes by country, exclude {??} and {A1} too 2013-01-17 18:07:36 -05:00
statefile.c Whoops; make or_state_validate conform to validate_fn_t. 2013-09-13 12:56:14 -04:00
statefile.h Also test that server transports get written to Tor's state. 2013-08-05 21:05:39 +03:00
status.c Merge remote-tracking branch 'origin/maint-0.2.4' 2014-02-06 13:27:04 -05:00
status.h Tweak/cleanup 5526 fix. 2013-08-21 13:41:53 -04:00
tor_main.c Fix a comment in tor_main.c 2013-02-25 03:24:53 -05:00
transports.c Fix an always-true assert in PT code. 2013-10-29 22:49:37 +00:00
transports.h Merge branch 'bug9288_rebased' 2013-07-31 13:51:15 -04:00