aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/or_options_st.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2019-04-17 05:51:39 +0000
committerNick Mathewson <nickm@torproject.org>2019-05-13 14:30:35 -0400
commitf4064d6ce214b4b79017280a6c9db9b3f945ece1 (patch)
tree03a3ceebfc924c1f8cb052534c9597635e24e56e /src/app/config/or_options_st.h
parent17a164a8275970aed53076ba58296ffc424c3b75 (diff)
downloadtor-f4064d6ce214b4b79017280a6c9db9b3f945ece1.tar.gz
tor-f4064d6ce214b4b79017280a6c9db9b3f945ece1.zip
Bug 28693: Provide Torrc option to disable circuit padding.
Diffstat (limited to 'src/app/config/or_options_st.h')
-rw-r--r--src/app/config/or_options_st.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/config/or_options_st.h b/src/app/config/or_options_st.h
index bd707fd193..0fdeb94b4f 100644
--- a/src/app/config/or_options_st.h
+++ b/src/app/config/or_options_st.h
@@ -248,6 +248,11 @@ struct or_options_t {
* pad to the server regardless of server support. */
int ConnectionPadding;
+ /** Boolean: if true, then circuit padding will be negotiated by client
+ * and server, subject to consenus limits (default). If 0, it will be fully
+ * disabled. */
+ int CircuitPadding;
+
/** To what authority types do we publish our descriptor? Choices are
* "v1", "v2", "v3", "bridge", or "". */
struct smartlist_t *PublishServerDescriptor;