Skip to content

Commit

Permalink
Send for upload also
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-soltesz committed Jan 3, 2024
1 parent 4f722ff commit 9545fd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/throughput1/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ func (p *Protocol) sendCounterflow(ctx context.Context,
for {
select {
case <-ctx.Done():
// TODO: do we need to send a final wiremessage here?
// Attempt to send final write message before close. Ignore errors.
p.sendWireMeasurement(ctx, p.measurer.Measure(ctx))
p.close(ctx)
return
case m := <-measurerCh:
Expand Down

0 comments on commit 9545fd5

Please sign in to comment.