mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
bugfix: while closing a circuit, we were freeing the conns that were
pending resolve, but not removing them from the pending resolve list svn:r1933
This commit is contained in:
parent
d9ff917878
commit
fbbb4d01c3
@ -372,6 +372,7 @@ int _circuit_mark_for_close(circuit_t *circ) {
|
|||||||
while(circ->resolving_streams) {
|
while(circ->resolving_streams) {
|
||||||
conn = circ->resolving_streams;
|
conn = circ->resolving_streams;
|
||||||
circ->resolving_streams = conn->next_stream;
|
circ->resolving_streams = conn->next_stream;
|
||||||
|
connection_dns_remove(conn); /* remove it from resolve lists */
|
||||||
log_fn(LOG_INFO,"Freeing resolving-conn.");
|
log_fn(LOG_INFO,"Freeing resolving-conn.");
|
||||||
connection_free(conn);
|
connection_free(conn);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user