diff options
author | Roger Dingledine <arma@torproject.org> | 2005-01-06 19:20:54 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-01-06 19:20:54 +0000 |
commit | f8b517fa9783b2445667d0bb23c22b719e7a428e (patch) | |
tree | 63828171f94bd9f044cd79805791510e3ab55a7c /src | |
parent | 1f51809e65d14865aa08a0e9ddf31271537fc12e (diff) | |
download | tor-f8b517fa9783b2445667d0bb23c22b719e7a428e.tar.gz tor-f8b517fa9783b2445667d0bb23c22b719e7a428e.zip |
finish marking my comment in main.c
svn:r3318
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index da5d78e0c4..2b9c67234f 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -240,7 +240,16 @@ static void conn_read(int i) { if (conn->marked_for_close) return; - /* post 0.0.9, + /* post 0.0.9, sometimes we get into loops like: +Jan 06 13:54:14.999 [debug] connection_consider_empty_buckets(): global bucket exhausted. Pausing. +Jan 06 13:54:14.999 [debug] connection_stop_reading() called. +Jan 06 13:54:14.999 [debug] conn_read(): socket 14 wants to read. +Jan 06 13:54:14.999 [debug] connection_consider_empty_buckets(): global bucket exhausted. Pausing. +... + We finish the loop after a couple of seconds go by, but nothing seems + to happen during the loop except tight looping over poll. Perhaps the + tls buffer has pending bytes but we don't allow ourselves to read them? + */ /* see http://www.greenend.org.uk/rjk/2001/06/poll.html for * discussion of POLLIN vs POLLHUP */ |