diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-26 01:50:08 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-26 01:50:08 +0000 |
commit | 10f3b74cb92f5a75f60e4d7d3eef05e11b980bfe (patch) | |
tree | c7dbd1ea6037c6383c598570484dddda313096cb /src/or/connection.c | |
parent | 568a4d187aa70648bf3e00416d8669995d368316 (diff) | |
download | tor-10f3b74cb92f5a75f60e4d7d3eef05e11b980bfe.tar tor-10f3b74cb92f5a75f60e4d7d3eef05e11b980bfe.tar.gz |
tell us the nickname of the OR that hung up on us
svn:r1706
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 4dfbb2d54..4c33f68eb 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); |