diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-15 10:45:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-06-13 10:14:00 -0400 |
commit | 801eea03ad71dafd31cc6bfa06fa5e421aa95cd6 (patch) | |
tree | 75611ccea466279beef1744067ab902a4a7a1875 /src/or/or.h | |
parent | 967503c12c46f1c75209622ebddd15242e8af79a (diff) | |
download | tor-801eea03ad71dafd31cc6bfa06fa5e421aa95cd6.tar.gz tor-801eea03ad71dafd31cc6bfa06fa5e421aa95cd6.zip |
Code to track on a circuit whether it has a "pending" delete cell
This will be used in a fix for bug7912.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 4e19140b4b..529e455677 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2779,6 +2779,13 @@ typedef struct circuit_t { * allowing n_streams to add any more cells. (OR circuit only.) */ unsigned int streams_blocked_on_p_chan : 1; + /** True iff we have queued a delete backwards on this circuit, but not put + * it on the output buffer. */ + unsigned int p_delete_pending : 1; + /** True iff we have queued a delete forwards on this circuit, but not put + * it on the output buffer. */ + unsigned int n_delete_pending : 1; + uint8_t state; /**< Current status of this circuit. */ uint8_t purpose; /**< Why are we creating this circuit? */ |