Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
8d80126e
Commit
8d80126e
authored
Feb 08, 2021
by
Nick Mathewson
🎨
Browse files
Remove DirCache=1 from list of supported versions.
Closes
#40221
parent
f420eacf
Changes
4
Hide whitespace changes
Inline
Side-by-side
changes/ticket40221_045
0 → 100644
View file @
8d80126e
o Minor features (protocol versions):
- Stop claiming to support the "DirCache=1" subprotocol version.
Technically, we stopped supporting this subprotocol back in
0.4.5.1-alpha, but we needed to wait for the authorities to stop
listing it as "required" before we can drop support. Closes ticket
40221.
src/core/or/protover.c
View file @
8d80126e
...
...
@@ -398,7 +398,7 @@ protover_get_supported_protocols(void)
return
"Cons=1-2 "
"Desc=1-2 "
"DirCache=
1-
2 "
"DirCache=2 "
"FlowCtrl=1 "
"HSDir=1-2 "
"HSIntro=3-5 "
...
...
src/rust/protover/protover.rs
View file @
8d80126e
...
...
@@ -160,7 +160,7 @@ pub(crate) fn get_supported_protocols_cstr() -> &'static CStr {
cstr!
(
"Cons=1-2
\
Desc=1-2
\
DirCache=
1-
2
\
DirCache=2
\
FlowCtrl=1
\
HSDir=1-2
\
HSIntro=3-5
\
...
...
@@ -175,7 +175,7 @@ pub(crate) fn get_supported_protocols_cstr() -> &'static CStr {
cstr!
(
"Cons=1-2
\
Desc=1-2
\
DirCache=
1-
2
\
DirCache=2
\
FlowCtrl=1
\
HSDir=1-2
\
HSIntro=3-5
\
...
...
src/test/test_protover.c
View file @
8d80126e
...
...
@@ -467,9 +467,6 @@ test_protover_supported_protocols(void *arg)
PROTOVER_HSDIR_V3
));
/* No DirCache versions appear anywhere in the code. */
tt_assert
(
protocol_list_supports_protocol
(
supported_protocols
,
PRT_DIRCACHE
,
PROTOVER_DIRCACHE_V1
));
tt_assert
(
protocol_list_supports_protocol
(
supported_protocols
,
PRT_DIRCACHE
,
PROTOVER_DIRCACHE_V2
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment