[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r13642: and another useful answer (tor/trunk/src/or)
Author: arma
Date: 2008-02-21 00:42:12 -0500 (Thu, 21 Feb 2008)
New Revision: 13642
Modified:
tor/trunk/src/or/main.c
Log:
and another useful answer
Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c 2008-02-21 05:38:19 UTC (rev 13641)
+++ tor/trunk/src/or/main.c 2008-02-21 05:42:12 UTC (rev 13642)
@@ -500,7 +500,10 @@
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);
}
}