summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrinity-1686a <trinity@deuxfleurs.fr>2023-10-13 00:02:07 +0200
committerDavid Goulet <dgoulet@torproject.org>2023-10-18 13:06:10 -0400
commit0cf4966acf7332608f6d3dda645b48594f4795fc (patch)
tree24ce578e4ed7affbd9b9122633dbfca0a218f32b
parent3970ee6a07035c6028edd890b5d28bb7a71e0833 (diff)
downloadtor-0cf4966acf7332608f6d3dda645b48594f4795fc.tar.gz
tor-0cf4966acf7332608f6d3dda645b48594f4795fc.zip
fix typos
-rw-r--r--doc/man/tor.1.txt2
-rw-r--r--src/core/or/dos.h2
-rw-r--r--src/feature/hs/hs_service.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/tor.1.txt b/doc/man/tor.1.txt
index 101c14f0d1..ea90a39fa3 100644
--- 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
index 9581d9f233..03606287d1 100644
--- 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
index 36d67719ca..b3a4117461 100644
--- 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;