diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index c9b02d3be5..d9eeff2864 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -216,6 +216,7 @@ static void conn_write(int i) { /* this connection is broken. remove it. */ log_fn(LOG_WARN,"Unhandled error on read for %s connection (fd %d); removing", conn_type_to_string[conn->type], conn->s); + conn->has_sent_end = 1; /* otherwise we cry wolf about duplicate close */ connection_mark_for_close(conn,0); } } |