aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2023-07-21 02:09:33 +0200
committerDavid Goulet <dgoulet@torproject.org>2024-06-18 15:15:20 -0400
commitd27ce6b8f0ad716597df888f19b7593a5a11f476 (patch)
tree685a19f8f5f9a42ec875d875b6827f13b90659ed
parentb6e260e69946dc6ce9c7de64438d5af29959d037 (diff)
downloadtor-d27ce6b8f0ad716597df888f19b7593a5a11f476.tar.gz
tor-d27ce6b8f0ad716597df888f19b7593a5a11f476.zip
Drop requirement for TRANSPORT being present in STATUS messages.
-rw-r--r--src/feature/client/transports.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/feature/client/transports.c b/src/feature/client/transports.c
index 7c5132695a..8c3b71f7d0 100644
--- a/src/feature/client/transports.c
+++ b/src/feature/client/transports.c
@@ -1286,16 +1286,6 @@ parse_status_line(const char *line, managed_proxy_t *mp)
goto done;
}
- /* We check if we received the TRANSPORT parameter, which is the only
- * *required* value. */
- const config_line_t *type = config_line_find(values, "TRANSPORT");
-
- if (! type) {
- log_warn(LD_PT, "Managed proxy \"%s\" wrote a STATUS line without "
- "TRANSPORT: %s", mp->argv[0], escaped(data));
- goto done;
- }
-
/* Handle the different messages. */
handle_status_message(values, mp);