tor

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

commit ee3e987898a1e656950aabf8bf0a99aed1450a98
parent c22696e3606f9873ddbf02b11dc91214853b8317
Author: David Goulet <dgoulet@torproject.org>
Date:   Tue, 17 Mar 2020 10:14:57 -0400

sendme: Emit version 1 by default

Closes #33623

Signed-off-by: David Goulet <dgoulet@torproject.org>

Diffstat:
Achanges/ticket33623 | 2++
Msrc/core/or/sendme.h | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/changes/ticket33623 b/changes/ticket33623 @@ -0,0 +1,2 @@ + o Minor feature (sendme, flow control): + - Default on sending SENDME version 1 cells. Closes ticket 33623. diff --git a/src/core/or/sendme.h b/src/core/or/sendme.h @@ -48,7 +48,7 @@ void sendme_record_sending_cell_digest(circuit_t *circ, crypt_path_t *cpath); #define SENDME_MAX_SUPPORTED_VERSION 1 /* The cell version constants for when emitting a cell. */ -#define SENDME_EMIT_MIN_VERSION_DEFAULT 0 +#define SENDME_EMIT_MIN_VERSION_DEFAULT 1 #define SENDME_EMIT_MIN_VERSION_MIN 0 #define SENDME_EMIT_MIN_VERSION_MAX UINT8_MAX