[tor-commits] [tor/maint-0.4.3] sendme: Emit version 1 by default

teor at torproject.org teor at torproject.org
Thu Mar 19 07:03:06 UTC 2020


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

    sendme: Emit version 1 by default
    
    Closes #33623
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 changes/ticket33623  | 2 ++
 src/core/or/sendme.h | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/changes/ticket33623 b/changes/ticket33623
new file mode 100644
index 000000000..528af3ca0
--- /dev/null
+++ 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
index 20477103f..9d757ee43 100644
--- 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
 





More information about the tor-commits mailing list