summaryrefslogtreecommitdiff
path: root/src/or/buffers.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-07-18 13:56:22 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-18 13:56:22 -0400
commit1e441df2d0d06aa66eaf2c0e00a42d7fe9c39c87 (patch)
tree2ce8d5401d7e3cb25f1e58dcbaf3ff578bb2c9cf /src/or/buffers.h
parentba5d75810493f237edbb7f4f149d61f1ca08e605 (diff)
downloadtor-1e441df2d0d06aa66eaf2c0e00a42d7fe9c39c87.tar.gz
tor-1e441df2d0d06aa66eaf2c0e00a42d7fe9c39c87.zip
Only use optimistic data with exits that support it
This adds a little code complexity: we need to remember for each node whether it supports the right feature, and then check for each connection whether it's exiting at such a node. We store this in a flag in the edge_connection_t, and set that flag at link time.
Diffstat (limited to 'src/or/buffers.h')
0 files changed, 0 insertions, 0 deletions