Loading src/or/connection.c +4 −0 Changes for src/or/connection.c: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -187,6 +187,10 @@ _connection_mark_for_close(connection_t *conn, char reason) case CONN_TYPE_OR: /* Remember why we're closing this connection. */ if (conn->state != OR_CONN_STATE_OPEN) { /* XXX Nick: this still isn't right, because it might be * dying even though we didn't initiate the connect. Can * you look at this more? -RD */ if(conn->nickname) rep_hist_note_connect_failed(conn->nickname, time(NULL)); } else if (reason == CLOSE_REASON_UNUSED_OR_CONN) { rep_hist_note_disconnect(conn->nickname, time(NULL)); Loading Loading
src/or/connection.c +4 −0 Changes for src/or/connection.c: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -187,6 +187,10 @@ _connection_mark_for_close(connection_t *conn, char reason) case CONN_TYPE_OR: /* Remember why we're closing this connection. */ if (conn->state != OR_CONN_STATE_OPEN) { /* XXX Nick: this still isn't right, because it might be * dying even though we didn't initiate the connect. Can * you look at this more? -RD */ if(conn->nickname) rep_hist_note_connect_failed(conn->nickname, time(NULL)); } else if (reason == CLOSE_REASON_UNUSED_OR_CONN) { rep_hist_note_disconnect(conn->nickname, time(NULL)); Loading