diff options
author | Roger Dingledine <arma@torproject.org> | 2007-02-06 00:27:03 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-02-06 00:27:03 +0000 |
commit | 9aa8e490f87a27d81dbc0863b39f6b9d0da695bb (patch) | |
tree | 539be094a718f7bd6fb839349842037ecad82d91 /src/or/connection_or.c | |
parent | 6a2fe560158513e9142bd38a1a43535d87c4a825 (diff) | |
download | tor-9aa8e490f87a27d81dbc0863b39f6b9d0da695bb.tar.gz tor-9aa8e490f87a27d81dbc0863b39f6b9d0da695bb.zip |
cleanups based on looking through svn commits
svn:r9491
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index b234e906a7..d171914860 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -779,9 +779,14 @@ connection_or_send_destroy(uint16_t circ_id, or_connection_t *conn, int reason) return 0; } -/** DOCDOC */ +/** A high waterlevel for whether to refill this OR connection + * with more directory information, if any is pending. */ #define BUF_FULLNESS_THRESHOLD (128*1024) -/** DOCDOC */ +/** A bottom waterlevel for whether to refill this OR connection + * with more directory information, if any is pending. We don't want + * to make this too low, since we already run the risk of starving + * the pending dir connections if the OR conn is frequently busy with + * other things. */ #define BUF_EMPTINESS_THRESHOLD (96*1024) /** Return true iff there is so much data waiting to be flushed on <b>conn</b> |