diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-10-02 17:55:25 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-11-12 14:20:16 -0500 |
commit | 8b4e5b7ee902fb7fa07767410a18433d752c7aef (patch) | |
tree | 6c004ca3eb3c26fa91030d3c7952bb15a8fb9041 /src/or/or.h | |
parent | 0ead9a58b989887235a62511b0c664307d1226b6 (diff) | |
download | tor-8b4e5b7ee902fb7fa07767410a18433d752c7aef.tar.gz tor-8b4e5b7ee902fb7fa07767410a18433d752c7aef.zip |
Experimentally decouple the main body of circuit_mark_for_close
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index a80cd55b53..746e46277c 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2892,6 +2892,14 @@ typedef struct circuit_t { * where this circuit was marked.) */ const char *marked_for_close_file; /**< For debugging: in which file was this * circuit marked for close? */ + /** For what reason (See END_CIRC_REASON...) is this circuit being closed? + * This field is set in circuit_mark_for_close and used later in + * circuit_about_to_free. */ + uint16_t marked_for_close_reason; + /** As marked_for_close_reason, but reflects the underlying reason for + * closing this circuit. + */ + uint16_t marked_for_close_orig_reason; /** Unique ID for measuring tunneled network status requests. */ uint64_t dirreq_id; |