mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Bug 40566: Remove unused BDP estimators
This commit is contained in:
@@ -128,7 +128,6 @@ circuit_establish_circuit_conflux_mock(const uint8_t *conflux_nonce,
|
||||
simulate_single_hop_extend(circ, 0);
|
||||
simulate_single_hop_extend(circ, 1);
|
||||
circ->cpath->prev->ccontrol = tor_malloc_zero(sizeof(congestion_control_t));
|
||||
circ->cpath->prev->ccontrol->sendme_arrival_timestamps = smartlist_new();
|
||||
circ->cpath->prev->ccontrol->sendme_pending_timestamps = smartlist_new();
|
||||
circ->cpath->prev->ccontrol->sendme_inc = 31;
|
||||
|
||||
@@ -499,7 +498,6 @@ simulate_circuit_build(circuit_t *client_circ)
|
||||
relay_side->purpose = CIRCUIT_PURPOSE_OR;
|
||||
relay_side->n_chan = NULL; // No next hop
|
||||
relay_side->ccontrol = tor_malloc_zero(sizeof(congestion_control_t));
|
||||
relay_side->ccontrol->sendme_arrival_timestamps = smartlist_new();
|
||||
relay_side->ccontrol->sendme_pending_timestamps = smartlist_new();
|
||||
relay_side->ccontrol->sendme_inc = 31;
|
||||
smartlist_add(exit_circs, relay_side);
|
||||
|
||||
@@ -216,7 +216,7 @@ run_vegas_cwnd_test_vec(congestion_control_t *cc,
|
||||
circ->circuit_blocked_on_p_chan = vec[i].or_conn_blocked_in;
|
||||
cc->inflight = vec[i].inflight_in;
|
||||
|
||||
congestion_control_vegas_process_sendme(cc, circ, NULL);
|
||||
congestion_control_vegas_process_sendme(cc, circ);
|
||||
|
||||
/* If the or conn was blocked, ensure we updated our
|
||||
* CC state */
|
||||
|
||||
Reference in New Issue
Block a user