diff options
author | Roger Dingledine <arma@torproject.org> | 2014-09-21 19:04:18 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2014-09-21 19:04:18 -0400 |
commit | bbfb1aca55303c150ebb08e223a0d9a69bb5be26 (patch) | |
tree | 57a920e5a48c6a5931045542fac18142980aa7d5 /src/or/routerparse.c | |
parent | 4c8b809b9619770e29aa3c5ab66b194f784a9e93 (diff) | |
download | tor-bbfb1aca55303c150ebb08e223a0d9a69bb5be26.tar.gz tor-bbfb1aca55303c150ebb08e223a0d9a69bb5be26.zip |
get rid of routerstatus->version_supports_optimistic_data
Clients are now willing to send optimistic circuit data (before they
receive a 'connected' cell) to relays of any version. We used to
only do it for relays running 0.2.3.1-alpha or later, but now all
relays are new enough.
Resolves ticket 13153.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 281341d134..250d1cd062 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1916,12 +1916,9 @@ routerstatus_parse_entry_from_string(memarea_t *area, rs->version_known = 1; if (strcmpstart(tok->args[0], "Tor ")) { rs->version_supports_microdesc_cache = 1; - rs->version_supports_optimistic_data = 1; } else { rs->version_supports_microdesc_cache = tor_version_supports_microdescriptors(tok->args[0]); - rs->version_supports_optimistic_data = - tor_version_as_new_as(tok->args[0], "0.2.3.1-alpha"); rs->version_supports_extend2_cells = tor_version_as_new_as(tok->args[0], "0.2.4.8-alpha"); } |