summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-01-08 22:16:30 +0000
committerRoger Dingledine <arma@torproject.org>2006-01-08 22:16:30 +0000
commitfa05c1b21b4ea738de45fd05f3492067605bb486 (patch)
tree572aad96ee8e148f90ef0d2c9edc866c6463ca7d
parent6dcbbda43bf9cb393fc912b07c900524f7f89ea0 (diff)
downloadtor-fa05c1b21b4ea738de45fd05f3492067605bb486.tar.gz
tor-fa05c1b21b4ea738de45fd05f3492067605bb486.zip
remove the loud logging of busted rendezvous descriptors
svn:r5758
-rw-r--r--src/or/directory.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 95fc6efaad..d8611cab00 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1640,13 +1640,15 @@ directory_handle_command_post(connection_t *conn, char *headers,
if (!strcmpstart(url,"/tor/rendezvous/publish")) {
/* rendezvous descriptor post */
if (rend_cache_store(body, body_len) < 0) {
- char tmp[1024*2+1];
+// char tmp[1024*2+1];
notice(LD_DIRSERV,"Rejected rend descriptor (length %d) from %s.",
(int)body_len, origin);
+#if 0
if (body_len <= 1024) {
base16_encode(tmp, sizeof(tmp), body, body_len);
notice(LD_DIRSERV,"Body was: %s", tmp);
}
+#endif
write_http_status_line(conn, 400, "Invalid service descriptor rejected");
} else {
write_http_status_line(conn, 200, "Service descriptor stored");