Skip to content

Commit

Permalink
fix(perf/https): request downloadBytes instead of uploadBytes (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden authored Jun 22, 2023
1 parent 53ff8b5 commit 2ddea6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perf/impl/https/v0.1/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func runClient(serverAddr string, uploadBytes, downloadBytes uint64) (time.Durat
}

b := make([]byte, 8)
binary.BigEndian.PutUint64(b, uploadBytes)
binary.BigEndian.PutUint64(b, downloadBytes)

req, err := http.NewRequest(
http.MethodPost,
Expand Down

0 comments on commit 2ddea6a

Please sign in to comment.