aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/protover.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2019-08-08 12:49:33 -0500
committerMike Perry <mikeperry-git@torproject.org>2019-08-12 14:02:35 -0500
commitb14bb12e39d3ccb95a9e5d9cf3eda8428c129520 (patch)
tree67eca6d69a9f104fc9f1430d86d9fc84dee19926 /src/core/or/protover.c
parentf6bc9d7c7eff9d50e5499007ea3a742b259e6ff9 (diff)
downloadtor-b14bb12e39d3ccb95a9e5d9cf3eda8428c129520.tar.gz
tor-b14bb12e39d3ccb95a9e5d9cf3eda8428c129520.zip
Bug 31356: Bump protover for new padding machines
By binding the protover numbering to specific padding machines, we can make our padding negotiation simpler. We probably should have done this in the first place. This has the side effect that earlier 0.4.1.x-alpha clients won't negotiate with 0.4.1.x-stable relays, and 0.4.1.x-stable clients won't negotiate with earlier 0.4.1.x-alpha relays (or 0.4.0.x relays). Since we don't support alphas after the stable is released, this is fine, so long as it gets in before the first stable of 0.4.1.x.
Diffstat (limited to 'src/core/or/protover.c')
-rw-r--r--src/core/or/protover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/protover.c b/src/core/or/protover.c
index e12919f0a8..ccd33fabf7 100644
--- a/src/core/or/protover.c
+++ b/src/core/or/protover.c
@@ -402,7 +402,7 @@ protover_get_supported_protocols(void)
#endif
"Microdesc=1-2 "
"Relay=1-2 "
- "Padding=1 "
+ "Padding=2 "
"FlowCtrl=1";
}