summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-12-22 06:21:28 +0000
committerRoger Dingledine <arma@torproject.org>2008-12-22 06:21:28 +0000
commit7262bf5eab97105ac833d0700a30052e053537dc (patch)
tree019c2c85873b6bad146b8af469aa682035e12434
parente36c7a74bd8f2f01e425e4b1403b9b724292640c (diff)
downloadtor-7262bf5eab97105ac833d0700a30052e053537dc.tar.gz
tor-7262bf5eab97105ac833d0700a30052e053537dc.zip
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
-rw-r--r--src/or/directory.c1
1 files changed, 1 insertions, 0 deletions
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 &&