From: Roger Dingledine Date: Mon, 26 Apr 2004 01:50:08 +0000 (+0000) Subject: tell us the nickname of the OR that hung up on us X-Git-Tag: debian-version-0.0.5+0.0.6rc2-1~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10f3b74cb92f5a75f60e4d7d3eef05e11b980bfe;p=thirdparty%2Ftor.git tell us the nickname of the OR that hung up on us svn:r1706 --- diff --git a/src/or/connection.c b/src/or/connection.c index 4dfbb2d54d..4c33f68ebf 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -634,7 +634,8 @@ int connection_read_to_buf(connection_t *conn) { 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);