mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
send an end to the streams we close when we hibernate, rather
than just chopping them off svn:r3083
This commit is contained in:
parent
1c9c813866
commit
f21564eb29
@ -719,6 +719,8 @@ hibernate_go_dormant(time_t now) {
|
||||
while ((conn = connection_get_by_type(CONN_TYPE_OR)) ||
|
||||
(conn = connection_get_by_type(CONN_TYPE_AP)) ||
|
||||
(conn = connection_get_by_type(CONN_TYPE_EXIT))) {
|
||||
if (CONN_IS_EDGE(conn))
|
||||
connection_edge_end(conn, END_STREAM_REASON_MISC, conn->cpath_layer);
|
||||
log_fn(LOG_INFO,"Closing conn type %d", conn->type);
|
||||
connection_mark_for_close(conn);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user