diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-03 06:26:34 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-03 06:26:34 +0000 |
commit | 3c71d09402ed58fab896f27ab7b668b547e8ab5e (patch) | |
tree | 9f65ab3a6aaaad5f6d2c9d0c2056e17ce34ce27a /src/or/connection_or.c | |
parent | f4e4dac80163625d0d1713ee8ff6c2d9f0c3d394 (diff) | |
download | tor-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.c | 2 |
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) |