Преглед на файлове

r16234@catbus: nickm | 2007-10-28 14:27:22 -0400
Clean up a couple of comments from r12244.


svn:r12253

Nick Mathewson преди 16 години
родител
ревизия
665aa7659c
променени са 2 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 2 1
      doc/spec/socks-extensions.txt
  2. 4 3
      src/or/or.h

+ 2 - 1
doc/spec/socks-extensions.txt

@@ -60,7 +60,8 @@ Tor's extensions to the SOCKS protocol
   directory port of the Tor server specified by address:port (the port
   specified should be the ORPort of the server). It uses a one-hop tunnel
   and a "BEGIN_DIR" relay cell to accomplish this secure connection.
-  Th F2 command value was removed in Tor 0.2.0.10-alpha in favor of a
+
+  The F2 command value was removed in Tor 0.2.0.10-alpha in favor of a
   new use_begindir flag in edge_connection_t.
 
 4. HTTP-resistance

+ 4 - 3
src/or/or.h

@@ -910,10 +910,11 @@ typedef struct edge_connection_t {
   /** True iff this connection is for a dns request only. */
   unsigned int is_dns_request : 1;
 
-  /** True iff this stream wants a one-hop circuit (e.g. for begin_dir). */
+  /** True iff this stream must attach to a one-hop circuit (e.g. for
+   * begin_dir). */
   int want_onehop:1;
-  /** True iff this stream should use a begin_dir connection (either via
-   * onehop or via a whole circuit). */
+  /** True iff this stream should use a BEGIN_DIR relay command to establish
+   * itself rather than BEGIN (either via onehop or via a whole circuit). */
   int use_begindir:1;
 
   /** If this is a DNSPort connection, this field holds the pending DNS