[or-cvs] shut up about failing to decode onionskins. i think we"re

Roger Dingledine arma at seul.org
Fri Jan 28 09:59:25 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/0091/tor/src/or

Modified Files:
      Tag: tor-0_0_9-patches
	cpuworker.c 
Log Message:
shut up about failing to decode onionskins. i think we're
going to have to live with the fact that some clients seem to
be getting old ones. i don't know if that's because they're
badly written jap-tor clients, or what.


Index: cpuworker.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/cpuworker.c,v
retrieving revision 1.61.2.1
retrieving revision 1.61.2.2
diff -u -d -r1.61.2.1 -r1.61.2.2
--- cpuworker.c	3 Jan 2005 19:27:31 -0000	1.61.2.1
+++ cpuworker.c	28 Jan 2005 09:59:23 -0000	1.61.2.2
@@ -147,7 +147,7 @@
       circ = circuit_get_by_circ_id_conn(circ_id, p_conn);
 
     if (success == 0) {
-      log_fn(LOG_WARN,"decoding onionskin failed. Closing.");
+      log_fn(LOG_INFO,"decoding onionskin failed. Closing.");
       if (circ)
         circuit_mark_for_close(circ);
       goto done_processing;
@@ -242,7 +242,7 @@
       if (onion_skin_server_handshake(question, onion_key, last_onion_key,
           reply_to_proxy, keys, 40+32) < 0) {
         /* failure */
-        log_fn(LOG_WARN,"onion_skin_server_handshake failed.");
+        log_fn(LOG_INFO,"onion_skin_server_handshake failed.");
         memset(buf,0,LEN_ONION_RESPONSE); /* send all zeros for failure */
       } else {
         /* success */



More information about the tor-commits mailing list