diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-20 11:02:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-20 14:14:21 -0400 |
commit | cd3709a2b093122b8d80f21690edeb0dc69837ff (patch) | |
tree | 0f0434458cac479e97bc1b1c9bc43558f5117f2a /src/or/circuituse.c | |
parent | 6e923ed8cdbdcf45902cb64dd921d63dea310d1d (diff) | |
download | tor-cd3709a2b093122b8d80f21690edeb0dc69837ff.tar tor-cd3709a2b093122b8d80f21690edeb0dc69837ff.tar.gz |
For accuracy, s/exit_allows_optimistic_data/may_use_optimistic_data/
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 9fbe5fed6..acfdc237e 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -739,7 +739,7 @@ circuit_detach_stream(circuit_t *circ, edge_connection_t *conn) tor_assert(conn); conn->cpath_layer = NULL; /* make sure we don't keep a stale pointer */ - conn->exit_allows_optimistic_data = 0; + conn->may_use_optimistic_data = 0; conn->on_circuit = NULL; if (CIRCUIT_IS_ORIGIN(circ)) { @@ -1597,13 +1597,13 @@ link_apconn_to_circ(edge_connection_t *apconn, origin_circuit_t *circ, if (optimistic_data_enabled() && circ->_base.purpose == CIRCUIT_PURPOSE_C_GENERAL && exitnode->rs->version_supports_optimistic_data) - apconn->exit_allows_optimistic_data = 1; + apconn->may_use_optimistic_data = 1; else - apconn->exit_allows_optimistic_data = 0; + apconn->may_use_optimistic_data = 0; log_info(LD_APP, "Looks like completed circuit to %s %s allow " "optimistic data for connection to %s", safe_str_client(node_describe(exitnode)), - apconn->exit_allows_optimistic_data ? "does" : "doesn't", + apconn->may_use_optimistic_data ? "does" : "doesn't", safe_str_client(apconn->socks_request->address)); } } |