mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
whoops. inform circuits again when we failed to connect to their
first hop, so they don't have to time out. svn:r6225
This commit is contained in:
parent
1db263ac3c
commit
6fb2b6785d
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ circuit_about_to_close_connection(connection_t *conn)
|
|||
*/
|
||||
switch (conn->type) {
|
||||
case CONN_TYPE_OR: {
|
||||
if (connection_state_is_open(conn)) {
|
||||
if (!connection_state_is_open(conn)) {
|
||||
/* Inform any pending (not attached) circs that they should
|
||||
* give up. */
|
||||
circuit_n_conn_done(conn, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue