diff options
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index d9ca3760f..95d30a984 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1890,6 +1890,10 @@ 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); |