diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-12-27 16:41:25 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-12-28 15:54:06 -0500 |
commit | 120a7453465260ddf84770ed1e5e289afe1b14b3 (patch) | |
tree | 79209a16c8916126b3e71df9263d74bb8c3249a7 /src/or | |
parent | 9d0777839be6642954a4c064c819d406d8bb7cb4 (diff) | |
download | tor-120a7453465260ddf84770ed1e5e289afe1b14b3.tar tor-120a7453465260ddf84770ed1e5e289afe1b14b3.tar.gz |
Bug 4786 fix: don't convert EARLY to RELAY on v1 connections
We used to do this as a workaround for older Tors, but now it's never
the correct thing to do (especially since anything that didn't
understand RELAY_EARLY is now deprecated hard).
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 59e2c5c96..272deb1f7 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1858,10 +1858,6 @@ append_cell_to_circuit_queue(circuit_t *circ, or_connection_t *orconn, queue = &orcirc->p_conn_cells; streams_blocked = circ->streams_blocked_on_p_conn; } - if (cell->command == CELL_RELAY_EARLY && orconn->link_proto < 2) { - /* V1 connections don't understand RELAY_EARLY. */ - cell->command = CELL_RELAY; - } cell_queue_append_packed_copy(queue, cell); |