diff options
Diffstat (limited to 'src/or/channel.c')
-rw-r--r-- | src/or/channel.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/or/channel.c b/src/or/channel.c index 9f6887588..5cf00ab18 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -1295,8 +1295,10 @@ channel_closed(channel_t *chan) /* Inform any pending (not attached) circs that they should * give up. */ - if (! chan->has_been_open) + if (! chan->has_been_open) { + log_info(LD_CIRC, "calling circuit_n_chan_done from channel_closed"); circuit_n_chan_done(chan, 0); + } /* Now close all the attached circuits on it. */ circuit_unlink_all_from_channel(chan, END_CIRC_REASON_CHANNEL_CLOSED); @@ -2370,6 +2372,7 @@ channel_do_open_actions(channel_t *chan) log_debug(LD_OR, "New entry guard was reachable, but closing this " "connection so we can retry the earlier entry guards."); + log_info(LD_CIRC, "calling circuit_n_chan_done from channel_do_open_actions 1"); circuit_n_chan_done(chan, 0); not_using = 1; } @@ -2391,7 +2394,10 @@ channel_do_open_actions(channel_t *chan) } } - if (!not_using) circuit_n_chan_done(chan, 1); + if (!not_using) { + log_info(LD_CIRC, "calling circuit_n_chan_done from channel_do_open_actions 2"); + circuit_n_chan_done(chan, 1); + } } /** |