aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-11-15 18:38:52 -0500
committerNick Mathewson <nickm@torproject.org>2013-11-15 18:38:52 -0500
commit91ec6f7269bd7a5b73629f38e9779e84a0fb84f2 (patch)
treeaa3a9530b77790cdb907358aeaa14f84f9ef5f84 /src/or/or.h
parent9e907076025ccd91abfad7fc70c09ba4c9228f82 (diff)
downloadtor-91ec6f7269bd7a5b73629f38e9779e84a0fb84f2.tar.gz
tor-91ec6f7269bd7a5b73629f38e9779e84a0fb84f2.zip
Have the OOM handler also count the age the data in a stream buffer
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 462239190b..0dd47d03b0 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2564,6 +2564,9 @@ typedef struct circuit_t {
* more. */
int deliver_window;
+ /** Temporary field used during circuits_handle_oom. */
+ uint32_t age_tmp;
+
/** For storage while n_conn is pending
* (state CIRCUIT_STATE_OR_WAIT). When defined, it is always
* length ONIONSKIN_CHALLENGE_LEN. */