aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2016-05-11 15:31:48 -0400
committerRoger Dingledine <arma@torproject.org>2016-05-27 11:15:21 -0400
commit11d52a449c61b24588c17688892e07fa395ffd0c (patch)
treef8af0eaed1203f7a929b766b8985bf33eac20d98 /src/or/or.h
parent48b7db35590afee77fb608b46328959e8a9b2d31 (diff)
downloadtor-11d52a449c61b24588c17688892e07fa395ffd0c.tar.gz
tor-11d52a449c61b24588c17688892e07fa395ffd0c.zip
Disable GET /tor/bytes.txt and GETINFO dir-usage
Remove support for "GET /tor/bytes.txt" DirPort request, and "GETINFO dir-usage" controller request, which were only available via a compile-time option in Tor anyway. Feature was added in 0.2.2.1-alpha. Resolves ticket 19035.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 86664d470d..a1b09b5c16 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -17,9 +17,7 @@
#if defined(__clang_analyzer__) || defined(__COVERITY__)
/* If we're building for a static analysis, turn on all the off-by-default
* features. */
-#ifndef INSTRUMENT_DOWNLOADS
-#define INSTRUMENT_DOWNLOADS 1
-#endif
+/* XXX029 Nothing left here? Take out or leave in? */
#endif
#ifdef HAVE_UNISTD_H