summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-01-10 23:40:38 +0000
committerRoger Dingledine <arma@torproject.org>2004-01-10 23:40:38 +0000
commit50863008150caa3a71fd2d8f5f9c18292ed13c24 (patch)
tree0d2306675a83318d1514286f07fcd742e783d621 /src/or/cpuworker.c
parentdb0c27b36204330a985c6a86be4604856d6d4ca2 (diff)
downloadtor-50863008150caa3a71fd2d8f5f9c18292ed13c24.tar.gz
tor-50863008150caa3a71fd2d8f5f9c18292ed13c24.zip
split the token bucket into 'rate' and 'burst' params
we're not entirely migrated to burst yet, for backward compatibility note some win32 probable-bugs clean up routerlist.c svn:r982
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 51c582c1c0..0ff097f131 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -127,6 +127,7 @@ int cpuworker_main(void *data) {
close(fdarray[0]); /* this is the side of the socketpair the parent uses */
fd = fdarray[1]; /* this side is ours */
connection_free_all(); /* so the child doesn't hold the parent's fd's open */
+/* XXX probably don't close all the fd's on MS_WINDOWS? */
for(;;) {