Skip to content
Snippets Groups Projects

chg: scanner: Measure upload after SS=0

Closed juga requested to merge juga/sbws:m15_issue40146_graph_05 into m15

To calculate the size of the upload, the HTTP block size and how many bytes have been uploaded after SS=0 (according to the HTTP request or tor's CIRC_BW events), the following changes has been made:

  • Create and open data file instead of creating the data in memory for every relay.
  • Move stream events to a class and handle the events in a thread, except when attaching a new stream to a circuit
  • Move circ_bw events to class
  • Move callback to class
  • Change HTTP block size given the target
  • Rename the thread with the circuit id to easier debugging

Closes #40142 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading