diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-01 08:24:34 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-01 08:24:34 +0000 |
commit | 4689243242e2e1230cbc02782b42701e6dcdab4f (patch) | |
tree | 8376a280a08c6a9e409e592a16963e60bccca345 /src/or | |
parent | 2f5efbcb443d36d809ccfe3a4b222ad581fc7954 (diff) | |
download | tor-4689243242e2e1230cbc02782b42701e6dcdab4f.tar tor-4689243242e2e1230cbc02782b42701e6dcdab4f.tar.gz |
make sure options.MaxConn can be reached
svn:r2638
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index d28c5497a..942e6cd33 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1078,6 +1078,9 @@ static int tor_init(int argc, char *argv[]) { handle_signals(1); + if (set_max_file_descriptors(options.MaxConn) < 0) + return -1; + crypto_global_init(); crypto_seed_rng(); return 0; |