aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 3a1984d768..83bd105301 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -358,6 +358,8 @@ conn_read_callback(int fd, short event, void *_conn)
tor_assert(0);
#endif
#endif
+ if (CONN_IS_EDGE(conn))
+ connection_edge_end_errno(conn, conn->cpath_layer);
connection_mark_for_close(conn);
}
}