and another useful answer

svn:r13642
This commit is contained in:
Roger Dingledine 2008-02-21 05:42:12 +00:00
parent 0ddc9d5707
commit 8889229407

View File

@ -500,7 +500,10 @@ conn_write_callback(int fd, short events, void *_conn)
edge_conn->end_reason = END_STREAM_REASON_INTERNAL; edge_conn->end_reason = END_STREAM_REASON_INTERNAL;
conn->edge_has_sent_end = 1; 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); connection_mark_for_close(conn);
} }
} }