aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/protover.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-05-03 13:24:06 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-05-03 13:56:36 -0400
commit07e4b09b5f27326a1aa58b5b2ed3c25ceb5a6db6 (patch)
tree8d1e878bc1f60e87a039e90cf7415c87f87070cd /src/core/or/protover.h
parent2aa441b88e089c9aa650f25dd1b109bf14bc451d (diff)
downloadtor-07e4b09b5f27326a1aa58b5b2ed3c25ceb5a6db6.tar.gz
tor-07e4b09b5f27326a1aa58b5b2ed3c25ceb5a6db6.zip
sendme: Add FlowCtrl protover value
See proposal 289 section 4.3 for more details. It describes the flow control protocol at the circuit and stream level. If there is no FlowCtrl protocol version, tor supports the unauthenticated flow control features from its supported Relay protocols. At this commit, relay will start advertising FlowCtrl=1 meaning they support authenticated SENDMEs v1. Closes #30363 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/protover.h')
-rw-r--r--src/core/or/protover.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/or/protover.h b/src/core/or/protover.h
index 567b94a168..d8e541735f 100644
--- a/src/core/or/protover.h
+++ b/src/core/or/protover.h
@@ -44,6 +44,7 @@ typedef enum protocol_type_t {
PRT_MICRODESC = 8,
PRT_CONS = 9,
PRT_PADDING = 10,
+ PRT_FLOWCTRL = 11,
} protocol_type_t;
bool protover_contains_long_protocol_names(const char *s);