summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-16 18:52:34 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-16 18:52:34 -0500
commit24fcb6adbb3896395edda38d6ecccb6ad53bddbd (patch)
treee1c055b48d779f869127c3f2dcab8a7b26b87ff4 /src
parent613e0e1c1ac3e44bad7a876147c49bc232460df2 (diff)
downloadtor-24fcb6adbb3896395edda38d6ecccb6ad53bddbd.tar.gz
tor-24fcb6adbb3896395edda38d6ecccb6ad53bddbd.zip
Add an edge_about_to_close() call to ap_about_to_close().
Fixes #17876
Diffstat (limited to 'src')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index fdb16a2dc3..d4ef064164 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -538,6 +538,8 @@ connection_ap_about_to_close(entry_connection_t *entry_conn)
edge_connection_t *edge_conn = ENTRY_TO_EDGE_CONN(entry_conn);
connection_t *conn = ENTRY_TO_CONN(entry_conn);
+ connection_edge_about_to_close(edge_conn);
+
if (entry_conn->socks_request->has_finished == 0) {
/* since conn gets removed right after this function finishes,
* there's no point trying to send back a reply at this point. */