[or-cvs] r13476: Make a couple of messages less noisy (in tor/trunk: . src/common)

nickm at seul.org nickm at seul.org
Tue Feb 12 04:37:13 UTC 2008


Author: nickm
Date: 2008-02-11 23:37:13 -0500 (Mon, 11 Feb 2008)
New Revision: 13476

Modified:
   tor/trunk/
   tor/trunk/src/common/tortls.c
Log:
 r18036 at catbus:  nickm | 2008-02-11 23:36:38 -0500
 Make a couple of messages less noisy



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r18036] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/common/tortls.c
===================================================================
--- tor/trunk/src/common/tortls.c	2008-02-12 04:37:00 UTC (rev 13475)
+++ tor/trunk/src/common/tortls.c	2008-02-12 04:37:13 UTC (rev 13476)
@@ -43,7 +43,7 @@
 #include <string.h>
 
 // #define V2_HANDSHAKE_SERVER
-// #define V2_HANDSHAKE_CLIENT
+#define V2_HANDSHAKE_CLIENT
 
 /* Copied from or.h */
 #define LEGAL_NICKNAME_CHARACTERS \
@@ -828,7 +828,7 @@
 #ifdef V2_HANDSHAKE_SERVER
     if (tls->got_renegotiate) {
       /* Renegotiation happened! */
-      log_notice(LD_NET, "Got a TLS renegotiation from %p", tls);
+      log_info(LD_NET, "Got a TLS renegotiation from %p", tls);
       if (tls->negotiated_callback)
         tls->negotiated_callback(tls, tls->callback_arg);
       tls->got_renegotiate = 0;
@@ -934,7 +934,7 @@
       if (n_certs > 1 || (n_certs == 1 && cert != sk_X509_value(chain, 0)))
         tls->wasV2Handshake = 0;
       else {
-        log_notice(LD_NET, "I think I got a v2 handshake on %p!", tls);
+        log_debug(LD_NET, "I think I got a v2 handshake on %p!", tls);
         tls->wasV2Handshake = 1;
       }
       if (cert)



More information about the tor-commits mailing list