fix(perf/https): request downloadBytes instead of uploadBytes (#203)

This commit is contained in:
Max Inden 2023-06-22 14:49:42 +02:00 committed by GitHub
parent 53ff8b5db1
commit 2ddea6a139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,