]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix typos
authortrinity-1686a <trinity@deuxfleurs.fr>
Thu, 12 Oct 2023 22:02:07 +0000 (00:02 +0200)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 18 Oct 2023 17:06:10 +0000 (13:06 -0400)
doc/man/tor.1.txt
src/core/or/dos.h
src/feature/hs/hs_service.h

index 101c14f0d10fc2695c2d6f1a67924454aad03dcf..ea90a39fa3ebdfc4d777dd483b5242244ca8efbe 100644 (file)
@@ -3055,7 +3055,7 @@ The following options are useful only for a exit relay.
      +
       2: Reject the stream or resolve request.
      +
-      3: Close the circuit creating to many streams.
+      3: Close the circuit creating too many streams.
      +
     "0" means use the consensus parameter. If not defined in the consensus, the value is 2.
     (Default: 0)
index 9581d9f233be690f447951838feba494d3203119..03606287d1160251e465b68fa29897037e95af6b 100644 (file)
@@ -182,7 +182,7 @@ typedef enum dos_stream_defense_type_t {
   /* Close the circuit */
   DOS_STREAM_DEFENSE_CLOSE_CIRCUIT  = 3,
 
-  /* Maimum value that can be used. Useful for the boundaries of the
+  /* Maximum value that can be used. Useful for the boundaries of the
    * consensus parameter. */
   DOS_STREAM_DEFENSE_MAX            = 3,
 } dos_stream_defense_type_t;
index 36d67719caec5f2e820dc0df853af17ffd5e2287..b3a41174611901aad588239b25e4597b9c9a44b1 100644 (file)
@@ -113,7 +113,7 @@ typedef struct hs_service_intropoints_t {
   digest256map_t *map;
 
   /** Contains node's identity key digest that were introduction point for this
-   * descriptor but were retried to many times. We keep those so we avoid
+   * descriptor but were retried too many times. We keep those so we avoid
    * re-picking them over and over for a circuit retry period.
    * XXX: Once we have #22173, change this to only use ed25519 identity. */
   digestmap_t *failed_id;