[or-cvs] tell us the nickname of the OR that hung up on us

Roger Dingledine arma at seul.org
Mon Apr 26 01:50:10 UTC 2004


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

Modified Files:
	connection.c 
Log Message:
tell us the nickname of the OR that hung up on us


Index: connection.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection.c,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -d -r1.200 -r1.201
--- connection.c	25 Apr 2004 22:23:54 -0000	1.200
+++ connection.c	26 Apr 2004 01:50:08 -0000	1.201
@@ -634,7 +634,8 @@
     switch(result) {
       case TOR_TLS_ERROR:
       case TOR_TLS_CLOSE:
-        log_fn(LOG_INFO,"tls error. breaking.");
+        log_fn(LOG_INFO,"tls error. breaking (nickname %s).",
+               conn->nickname ? conn->nickname : "not set yet");
         return -1; /* XXX deal with close better */
       case TOR_TLS_WANTWRITE:
         connection_start_writing(conn);



More information about the tor-commits mailing list