Explorar o código

Document that care needs to be taken with any_streams_attached.

Mike Perry %!s(int64=13) %!d(string=hai) anos
pai
achega
9b40466072
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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
    * Did any SOCKS streams or hidserv introductions actually succeed on
    * this circuit?
    * 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;
   unsigned int any_streams_succeeded : 1;