소스 검색

Note a couple of XXX-prop271s as spec deviations.

Nick Mathewson 7 년 전
부모
커밋
1e9cd5d2bb
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/or/control.c
  2. 2 2
      src/or/entrynodes.c

+ 1 - 1
src/or/control.c

@@ -2597,7 +2597,7 @@ getinfo_helper_events(control_connection_t *control_conn,
       if (circ->base_.state == CIRCUIT_STATE_OPEN)
         state = "BUILT";
       else if (circ->base_.state == CIRCUIT_STATE_GUARD_WAIT)
-        state = "GUARD_WAIT"; // XXXX prop271 must specify this.
+        state = "GUARD_WAIT"; // XXXX prop271 spec deviation-- specify this.
       else if (circ->cpath)
         state = "EXTENDED";
       else

+ 2 - 2
src/or/entrynodes.c

@@ -381,8 +381,8 @@ get_max_sample_threshold(void)
 /**
  * We always try to make our sample contain at least this many guards.
  *
- * XXXX prop271 There was a MIN_SAMPLE_THRESHOLD in the proposal, but I
- * removed it in favor of MIN_FILTERED_SAMPLE_SIZE. -NM
+ * XXXX prop271 spec deviation There was a MIN_SAMPLE_THRESHOLD in the
+ * proposal, but I removed it in favor of MIN_FILTERED_SAMPLE_SIZE. -NM
  */
 STATIC int
 get_min_filtered_sample_size(void)