aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/connection_edge.c
diff options
context:
space:
mode:
authortrinity-1686a <trinity@deuxfleurs.fr>2023-09-10 13:18:34 +0200
committerDavid Goulet <dgoulet@torproject.org>2023-10-18 13:06:04 -0400
commitf8b259c2fe2208889a26a7d9494fea0c1b97f7a4 (patch)
tree3b75a03def98d7576465a50c80652695c26162d5 /src/core/or/connection_edge.c
parent1b907d13bb97aba8badcb428623fa13e803b8d92 (diff)
downloadtor-f8b259c2fe2208889a26a7d9494fea0c1b97f7a4.tar.gz
tor-f8b259c2fe2208889a26a7d9494fea0c1b97f7a4.zip
add metrics for rejected BEGIN/RESOLVE
Diffstat (limited to 'src/core/or/connection_edge.c')
-rw-r--r--src/core/or/connection_edge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/or/connection_edge.c b/src/core/or/connection_edge.c
index 764e1c886b..0dbd5eb33f 100644
--- a/src/core/or/connection_edge.c
+++ b/src/core/or/connection_edge.c
@@ -4247,7 +4247,8 @@ connection_exit_begin_resolve(cell_t *cell, or_circuit_t *circ)
dns_send_resolved_error_cell(dummy_conn, RESOLVED_TYPE_ERROR_TRANSIENT);
return 0;
case DOS_STREAM_DEFENSE_CLOSE_CIRCUIT:
- /* TODO maybe use REASON_RESOURCELIMIT? See connection_exit_begin_conn() */
+ /* TODO maybe use REASON_RESOURCELIMIT?
+ * See connection_exit_begin_conn() */
return -END_CIRC_REASON_NONE;
}