]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix a fun bug on r17656 that was making us send HTTP/1.0 404 as
authorRoger Dingledine <arma@torproject.org>
Mon, 22 Dec 2008 06:21:28 +0000 (06:21 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 22 Dec 2008 06:21:28 +0000 (06:21 +0000)
the message body, no matter the message headers, when answering
a descriptor or extrainfo post request.

svn:r17723

src/or/directory.c

index 926d1843f88f0d65a10bf9f225f416b80ddb689c..1fd0f7176b5285f56c687113ee4e9aad56d3aea2 100644 (file)
@@ -3094,6 +3094,7 @@ directory_handle_command_post(dir_connection_t *conn, const char *headers,
                conn->_base.address, msg);
       write_http_status_line(conn, 400, msg);
     }
+    goto done;
   }
 
   if (options->HSAuthoritativeDir &&