From 2ddea6a139764869aa7c10c0f96e0d50b29f73d4 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Thu, 22 Jun 2023 14:49:42 +0200 Subject: [PATCH] fix(perf/https): request downloadBytes instead of uploadBytes (#203) --- perf/impl/https/v0.1/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf/impl/https/v0.1/main.go b/perf/impl/https/v0.1/main.go index 30373b75a..11cf15981 100644 --- a/perf/impl/https/v0.1/main.go +++ b/perf/impl/https/v0.1/main.go @@ -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,