commit 0cf4966acf7332608f6d3dda645b48594f4795fc
parent 3970ee6a07035c6028edd890b5d28bb7a71e0833
Author: trinity-1686a <trinity@deuxfleurs.fr>
Date: Fri, 13 Oct 2023 00:02:07 +0200
fix typos
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/man/tor.1.txt b/doc/man/tor.1.txt
@@ -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)
diff --git a/src/core/or/dos.h b/src/core/or/dos.h
@@ -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;
diff --git a/src/feature/hs/hs_service.h b/src/feature/hs/hs_service.h
@@ -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;