aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/origin_circuit_st.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-10-23 19:51:22 +0000
committerGeorge Kadianakis <desnacked@riseup.net>2019-01-02 15:12:09 +0200
commit2f7b5a2d4468532251dd7b177c02a9c192690174 (patch)
treeae28eaa136c2381498846e7bc1bbb67347afdaa8 /src/core/or/origin_circuit_st.h
parent2a24e21fb07ade157f1226039d71713c0c5b47b7 (diff)
downloadtor-2f7b5a2d4468532251dd7b177c02a9c192690174.tar.gz
tor-2f7b5a2d4468532251dd7b177c02a9c192690174.zip
Hook up circuit padding to circuit_t.
Co-authored-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/core/or/origin_circuit_st.h')
-rw-r--r--src/core/or/origin_circuit_st.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/or/origin_circuit_st.h b/src/core/or/origin_circuit_st.h
index 26cdf590f1..921076c1b9 100644
--- a/src/core/or/origin_circuit_st.h
+++ b/src/core/or/origin_circuit_st.h
@@ -161,6 +161,10 @@ struct origin_circuit_t {
* connections to this circuit. */
unsigned int unusable_for_new_conns : 1;
+ /* If this flag is set (due to padding negotiation failure), we should
+ * not try to negotiate further circuit padding. */
+ unsigned padding_negotiation_failed : 1;
+
/**
* Tristate variable to guard against pathbias miscounting
* due to circuit purpose transitions changing the decision