[or-cvs] finish marking my comment in main.c

Roger Dingledine arma at seul.org
Thu Jan 6 19:20:56 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	main.c 
Log Message:
finish marking my comment in main.c


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.414
retrieving revision 1.415
diff -u -d -r1.414 -r1.415
--- main.c	6 Jan 2005 19:19:12 -0000	1.414
+++ main.c	6 Jan 2005 19:20:54 -0000	1.415
@@ -240,7 +240,16 @@
   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 */



More information about the tor-commits mailing list