From d1fbdaf64ce9d58530a606bf7f44409d9f9d894f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 22 Sep 2011 16:19:00 -0400 Subject: Make 185 a little more explicit on who sets dir-cache in their routerdesc --- proposals/185-dir-without-dirport.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'proposals/185-dir-without-dirport.txt') diff --git a/proposals/185-dir-without-dirport.txt b/proposals/185-dir-without-dirport.txt index c84ec35..838a58a 100644 --- a/proposals/185-dir-without-dirport.txt +++ b/proposals/185-dir-without-dirport.txt @@ -30,8 +30,12 @@ Configuration: Advertising cache status: Nodes which are running as a directory cache but which do not have - a DirPort set should set the entry "dir-cache 1" in their router - descriptors. + a DirPort set, or which do not have a working DirPort, should set + the entry "dir-cache 1" in their router descriptors and give their + directory port as 0 in their router lines. (Nodes which have a + working directory port advertise it as usual, and do not include + a "dir-cache" line. Implementations should accept and ignore + dir-cache lines with values other than "dir-cache 1".) Consensus: -- cgit v1.2.3-54-g00ecf