]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Drop requirement for TRANSPORT being present in STATUS messages.
authorAlexander Færøy <ahf@torproject.org>
Fri, 21 Jul 2023 00:09:33 +0000 (02:09 +0200)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 18 Jun 2024 19:15:20 +0000 (15:15 -0400)
src/feature/client/transports.c

index 7c5132695a1696e8a09173ea28434cf997e3990b..8c3b71f7d0a2264c44081758921219c675f27cb7 100644 (file)
@@ -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);