From 0cf4966acf7332608f6d3dda645b48594f4795fc Mon Sep 17 00:00:00 2001 From: trinity-1686a Date: Fri, 13 Oct 2023 00:02:07 +0200 Subject: [PATCH] fix typos --- doc/man/tor.1.txt | 2 +- src/core/or/dos.h | 2 +- src/feature/hs/hs_service.h | 2 +- 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;