mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Bug 29085: Avoid monotime usage for rtt estimates if it is not in use.
This commit is contained in:
committed by
George Kadianakis
parent
5c2d2b5d11
commit
14ec8b89f8
@@ -415,6 +415,7 @@ helper_create_basic_machine(void)
|
||||
|
||||
circ_client_machine.states[CIRCPAD_STATE_START].
|
||||
next_state[CIRCPAD_EVENT_NONPADDING_RECV] = CIRCPAD_STATE_BURST;
|
||||
circ_client_machine.states[CIRCPAD_STATE_START].use_rtt_estimate = 1;
|
||||
|
||||
circ_client_machine.states[CIRCPAD_STATE_BURST].
|
||||
next_state[CIRCPAD_EVENT_PADDING_RECV] = CIRCPAD_STATE_BURST;
|
||||
|
||||
Reference in New Issue
Block a user