Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
dfa64b61
Commit
dfa64b61
authored
Jun 01, 2003
by
Roger Dingledine
Browse files
bugfix: it was expiring circuits that still had active connections
svn:r303
parent
43054543
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/circuit.c
View file @
dfa64b61
...
...
@@ -621,7 +621,7 @@ void circuit_expire_unused_circuits(void) {
while
(
circ
)
{
tmpcirc
=
circ
;
circ
=
circ
->
next
;
if
(
tmpcirc
!=
youngest
&&
!
tmpcirc
->
p_conn
)
{
if
(
tmpcirc
!=
youngest
&&
!
tmpcirc
->
p_conn
&&
!
tmpcirc
->
p_streams
)
{
log
(
LOG_DEBUG
,
"circuit_expire_unused_circuits(): Closing n_aci %d"
,
tmpcirc
->
n_aci
);
circuit_close
(
tmpcirc
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment