mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Dont expire circuits we didnt originate. This may be redundant somehow, but better safe than sorry.
svn:r1331
This commit is contained in:
parent
2561472809
commit
b3f6b55ea1
@ -926,6 +926,7 @@ void circuit_expire_unused_circuits(void) {
|
||||
if(((tmpcirc->timestamp_dirty &&
|
||||
tmpcirc->timestamp_dirty + options.NewCircuitPeriod < now) ||
|
||||
(options.RunTesting &&
|
||||
tmpcirc->cpath &&
|
||||
tmpcirc->timestamp_created + TESTING_CIRCUIT_MAX_AGE < now))
|
||||
&& !tmpcirc->p_conn
|
||||
&& !tmpcirc->p_streams
|
||||
|
Loading…
Reference in New Issue
Block a user