[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] remove the loud logging of busted rendezvous descriptors



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	directory.c 
Log Message:
remove the loud logging of busted rendezvous descriptors


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.336
retrieving revision 1.337
diff -u -p -d -r1.336 -r1.337
--- directory.c	8 Jan 2006 22:09:54 -0000	1.336
+++ directory.c	8 Jan 2006 22:16:30 -0000	1.337
@@ -1640,13 +1640,15 @@ directory_handle_command_post(connection
   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");