tor/changes/ticket18873

8 lines
400 B
Plaintext
Raw Normal View History

o Code simplification and refactoring:
- Extracted dummy_origin_circuit_new so it can be used by other test
functions.
- Refactor circuit_predict_and_launch_new for readability and testability.
- Added unit tests for extracted functions.
2016-10-23 17:51:09 +02:00
- Extracted magic numbers in circuituse.c into defined variables.
- Refactor circuit_is_available_for_use to remove unnecessary check