mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
tell us the nickname of the OR that hung up on us
svn:r1706
This commit is contained in:
parent
568a4d187a
commit
10f3b74cb9
1 changed files with 2 additions and 1 deletions
|
@ -634,7 +634,8 @@ int connection_read_to_buf(connection_t *conn) {
|
||||||
switch(result) {
|
switch(result) {
|
||||||
case TOR_TLS_ERROR:
|
case TOR_TLS_ERROR:
|
||||||
case TOR_TLS_CLOSE:
|
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 */
|
return -1; /* XXX deal with close better */
|
||||||
case TOR_TLS_WANTWRITE:
|
case TOR_TLS_WANTWRITE:
|
||||||
connection_start_writing(conn);
|
connection_start_writing(conn);
|
||||||
|
|
Loading…
Add table
Reference in a new issue