From: Roger Dingledine Date: Mon, 22 Dec 2008 06:21:28 +0000 (+0000) Subject: fix a fun bug on r17656 that was making us send HTTP/1.0 404 as X-Git-Tag: tor-0.2.1.9-alpha~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7262bf5eab97105ac833d0700a30052e053537dc;p=thirdparty%2Ftor.git fix a fun bug on r17656 that was making us send HTTP/1.0 404 as the message body, no matter the message headers, when answering a descriptor or extrainfo post request. svn:r17723 --- diff --git a/src/or/directory.c b/src/or/directory.c index 926d1843f8..1fd0f7176b 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -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 &&