aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-09-07 00:30:29 +0000
committerRoger Dingledine <arma@torproject.org>2006-09-07 00:30:29 +0000
commit5a8563baedd55062305094637d9701b2cf52abde (patch)
tree4f30db26b52a5e760a11072d014a3fbd09ddc6df /src/or/config.c
parent7ed528c5c5a2f629bcf42de92ddcf3d784b26f0f (diff)
downloadtor-5a8563baedd55062305094637d9701b2cf52abde.tar.gz
tor-5a8563baedd55062305094637d9701b2cf52abde.zip
new config option AvoidDiskWrites for people running tors on
usb keys and other media that degrades when you write. not implemented yet, so just a reminder. svn:r8331
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index d6c4a1efca..da0fae43f7 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -131,6 +131,7 @@ static config_var_t _option_vars[] = {
VAR("AuthDirReject", LINELIST, AuthDirReject, NULL),
VAR("AuthDirRejectUnlisted",BOOL, AuthDirRejectUnlisted,"0"),
VAR("AuthoritativeDirectory",BOOL, AuthoritativeDir, "0"),
+ VAR("AvoidDiskWrites", BOOL, AvoidDiskWrites, "0"),
VAR("BandwidthBurst", MEMUNIT, BandwidthBurst, "6 MB"),
VAR("BandwidthRate", MEMUNIT, BandwidthRate, "3 MB"),
VAR("CircuitBuildTimeout", INTERVAL, CircuitBuildTimeout, "1 minute"),