tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit f5532cb5aef18e93b4766bb57ee38233bf17876b
parent 8d154ed5827f6fe54eaffa22e9a5684b23d5e0f0
Author: David Goulet <dgoulet@torproject.org>
Date:   Mon, 15 Sep 2025 13:03:05 -0400

Merge branch 'tor-gitlab/mr/926'

Diffstat:
Msrc/core/or/relay.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/core/or/relay.c b/src/core/or/relay.c @@ -626,6 +626,9 @@ relay_send_command_from_edge_,(streamid_t stream_id, circuit_t *orig_circ, msg.length = payload_len; msg.body = (const uint8_t *) payload; msg_body_len = msg.length; + // If this cell should be RELAY_EARLY, we'll change the type + // later in this function. + msg.is_relay_early = false; if (relay_msg_encode_cell(cell_format, &msg, &cell) < 0) { // We already called IF_BUG_ONCE in relay_msg_encode_cell.