diff options
author | Roger Dingledine <arma@torproject.org> | 2005-06-08 04:55:06 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-06-08 04:55:06 +0000 |
commit | aff308e6d9c132f905a70e9366c6f363461e3310 (patch) | |
tree | f4ad94cb7d7bd7e7a620c17743fbb88204e047e1 /src/or/main.c | |
parent | f5fd5d920d78dac3d8726b2459c91371dbb12ade (diff) | |
download | tor-aff308e6d9c132f905a70e9366c6f363461e3310.tar tor-aff308e6d9c132f905a70e9366c6f363461e3310.tar.gz |
reenable the part of the code that tries to flush as soon as an OR outbuf
has a full tls record available. perhaps this will make OR outbufs not grow
as huge except in rare cases, thus saving lots of cpu time plus memory.
svn:r4343
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/main.c b/src/or/main.c index 319358a9b..204b05569 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -344,8 +344,6 @@ static void conn_read_callback(int fd, short event, void *_conn) { connection_t *conn = _conn; - if (conn->marked_for_close) - return; log_fn(LOG_DEBUG,"socket %d wants to read.",conn->s); @@ -376,8 +374,6 @@ static void conn_write_callback(int fd, short events, void *_conn) connection_t *conn = _conn; log_fn(LOG_DEBUG,"socket %d wants to write.",conn->s); - if (conn->marked_for_close) - return; assert_connection_ok(conn, time(NULL)); |