"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/or/circuituse.c" between
tor-0.4.5.7.tar.gz and tor-0.4.5.8.tar.gz

About: Tor is an anonymous Internet communication system - a network of virtual tunnels that allows people and groups to improve their privacy and security on the Internet.

circuituse.c  (tor-0.4.5.7):circuituse.c  (tor-0.4.5.8)
skipping to change at line 1323 skipping to change at line 1323
return; return;
} }
if (needs_circuits_for_build(num)) { if (needs_circuits_for_build(num)) {
flags = CIRCLAUNCH_NEED_CAPACITY; flags = CIRCLAUNCH_NEED_CAPACITY;
/* if there are no exits in the consensus, make timeout /* if there are no exits in the consensus, make timeout
* circuits internal */ * circuits internal */
if (router_have_consensus_path() == CONSENSUS_PATH_INTERNAL) if (router_have_consensus_path() == CONSENSUS_PATH_INTERNAL)
flags |= CIRCLAUNCH_IS_INTERNAL; flags |= CIRCLAUNCH_IS_INTERNAL;
log_info(LD_CIRC, log_info(LD_CIRC,
"Have %d clean circs need another buildtime test circ.", num); "Have %d clean circs need another buildtime test circ.", num);
circuit_launch(CIRCUIT_PURPOSE_C_GENERAL, flags); circuit_launch(CIRCUIT_PURPOSE_C_GENERAL, flags);
return; return;
} }
} }
/** Build a new test circuit every 5 minutes */ /** Build a new test circuit every 5 minutes */
#define TESTING_CIRCUIT_INTERVAL 300 #define TESTING_CIRCUIT_INTERVAL 300
/** This function is called once a second, if router_have_minimum_dir_info() /** This function is called once a second, if router_have_minimum_dir_info()
* is true. Its job is to make sure all services we offer have enough circuits * is true. Its job is to make sure all services we offer have enough circuits
* available. Some services just want enough circuits for current tasks, * available. Some services just want enough circuits for current tasks,
* whereas others want a minimum set of idle circuits hanging around. * whereas others want a minimum set of idle circuits hanging around.
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)