]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove want_cmddata from HSFETCH, which does not in fact want data
authorNick Mathewson <nickm@torproject.org>
Wed, 29 May 2019 14:10:57 +0000 (10:10 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 29 May 2019 14:10:57 +0000 (10:10 -0400)
This looks a copy-and-paste error to me.  Fixes bug 30646; bugfix on
0.4.1.1-alpha.

changes/bug30646 [new file with mode: 0644]
src/feature/control/control_cmd.c

diff --git a/changes/bug30646 b/changes/bug30646
new file mode 100644 (file)
index 0000000..e95a54e
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor bugfixes (controller):
+    - Repair the HSFETCH command so that it works again. Previously, it
+      expected a body when it shouldn't have. Fixes bug 30646; bugfix on
+      0.4.1.1-alpha.
index 17d5b0c7f33d098ffd5c53a532cc1d071769cc65..abb579bd43efe6f219ca8201be9e898373d0dee5 100644 (file)
@@ -1385,7 +1385,6 @@ static const control_cmd_syntax_t hsfetch_syntax = {
   .min_args = 1, .max_args = 1,
   .accept_keywords = true,
   .allowed_keywords = hsfetch_keywords,
-  .want_cmddata = true,
 };
 
 /** Implementation for the HSFETCH command. */