aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuituse.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2023-01-18 22:48:43 +0000
committerMike Perry <mikeperry-git@torproject.org>2023-04-06 15:57:10 +0000
commitcf715a56f1e4c6873d2e99bdd96c4b1fb86af63d (patch)
treecba7a66f62a2bda623bc79e1b7bb01136c417bfa /src/core/or/circuituse.c
parentb999051e449f4293a25b676b4a08b86d2bc4c5ad (diff)
downloadtor-cf715a56f1e4c6873d2e99bdd96c4b1fb86af63d.tar.gz
tor-cf715a56f1e4c6873d2e99bdd96c4b1fb86af63d.zip
Prop#329 sendme: Adjust sendme sending and tracking for conflux
Because circuit-level sendmes are sent before relay data cells are processed, we can safely move this to before the conflux decision. In this way, regardless of conflux being negotiated, we still send sendmes as soon as data cells are recieved. This avoids introducing conflux queue delay into RTT measurement, which is important for measuring actual circuit capacity. The circuit-level tracking must happen inside the call to send a data cell, since that call now chooses a circuit to send on. Turns out, we were already doing this kind of here, but only for the digest. Now we do both things here.
Diffstat (limited to 'src/core/or/circuituse.c')
0 files changed, 0 insertions, 0 deletions