+
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)
/* 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;
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;