Prechádzať zdrojové kódy

Document that care needs to be taken with any_streams_attached.

Mike Perry 13 rokov pred
rodič
commit
9b40466072
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      src/or/or.h

+ 4 - 0
src/or/or.h

@@ -2875,6 +2875,10 @@ typedef struct origin_circuit_t {
   /**
    * Did any SOCKS streams or hidserv introductions actually succeed on
    * this circuit?
+   *
+   * Note: If we ever implement end-to-end stream timing through test
+   * stream probes (#5707), we must *not* set this for those probes
+   * (or any other automatic streams).
    */
   unsigned int any_streams_succeeded : 1;