aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-03-03 06:26:34 +0000
committerRoger Dingledine <arma@torproject.org>2004-03-03 06:26:34 +0000
commit3c71d09402ed58fab896f27ab7b668b547e8ab5e (patch)
tree9f65ab3a6aaaad5f6d2c9d0c2056e17ce34ce27a /src/or/connection_or.c
parentf4e4dac80163625d0d1713ee8ff6c2d9f0c3d394 (diff)
downloadtor-3c71d09402ed58fab896f27ab7b668b547e8ab5e.tar
tor-3c71d09402ed58fab896f27ab7b668b547e8ab5e.tar.gz
use conn->hold_open_until_flushed for streams
and also note/fix a variety of other stream-based bugs svn:r1210
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 9b9bfe7bf..f7fdcc1d8 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -32,7 +32,7 @@ int connection_or_process_inbuf(connection_t *conn) {
if(conn->inbuf_reached_eof) {
log_fn(LOG_INFO,"OR connection reached EOF. Closing.");
connection_mark_for_close(conn,0);
- return -1;
+ return 0;
}
if(conn->state != OR_CONN_STATE_OPEN)