aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-02-28 11:48:22 +0000
committerRoger Dingledine <arma@torproject.org>2004-02-28 11:48:22 +0000
commit80410fa8dc1db2421c1b0b116ced2e52ecd8b705 (patch)
treea09cb6a79278029964463cd4c5e48d4d13958681 /src/or/connection.c
parentd1deb753db7805f2484bacd179af99d7c41a485d (diff)
downloadtor-80410fa8dc1db2421c1b0b116ced2e52ecd8b705.tar
tor-80410fa8dc1db2421c1b0b116ced2e52ecd8b705.tar.gz
some comments to point nick at the latest bugs
svn:r1162
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 8edfe8ed1..e4b99a4bf 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -414,6 +414,9 @@ int connection_handle_read(connection_t *conn) {
router_mark_as_down(conn->nickname);
}
/* There's a read error; kill the connection.*/
+ /* XXX This is the place. We need to somehow indicate to
+ * conn that it should never try to flush, or do anything
+ * with conn->s but close it. */
connection_mark_for_close(conn, END_STREAM_REASON_MISC);
return -1;
}