diff options
author | Roger Dingledine <arma@torproject.org> | 2004-06-02 18:11:28 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-06-02 18:11:28 +0000 |
commit | fbbb4d01c33dc7d1e8a35c495a8e4544e45e68e8 (patch) | |
tree | c2690320e2e7799345a6dc8b3ae7bd83c29b6963 /src | |
parent | d9ff9178785df81bc9a323e011a309992fefe83b (diff) | |
download | tor-fbbb4d01c33dc7d1e8a35c495a8e4544e45e68e8.tar.gz tor-fbbb4d01c33dc7d1e8a35c495a8e4544e45e68e8.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/or/circuitlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index e87931f52e..c050156c82 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -372,6 +372,7 @@ int _circuit_mark_for_close(circuit_t *circ) { while(circ->resolving_streams) { conn = circ->resolving_streams; circ->resolving_streams = conn->next_stream; + connection_dns_remove(conn); /* remove it from resolve lists */ log_fn(LOG_INFO,"Freeing resolving-conn."); connection_free(conn); } |