From 888922940742576f7fcdec45dbc00dd054b8a114 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 21 Feb 2008 05:42:12 +0000 Subject: [PATCH] and another useful answer svn:r13642 --- src/or/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/or/main.c b/src/or/main.c index cbd8179527..568de4d6c7 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -500,7 +500,10 @@ conn_write_callback(int fd, short events, void *_conn) edge_conn->end_reason = END_STREAM_REASON_INTERNAL; conn->edge_has_sent_end = 1; } - /* XXX020rc do we need a close-immediate here, so we don't try to flush? */ + /* XXX020rc do we need a close-immediate here, so we don't try to + * flush? -NM + * Yes, we do, since it broke in an unexpected way. This should be + * safe to do since I don't think this codepath ever gets called. -RD */ connection_mark_for_close(conn); } }