remove unused variable responseBodySize

This commit is contained in:
Antonio Ojea 2021-11-16 22:49:22 +01:00
parent 3490bdc8b5
commit 9336ff78f4

View File

@ -105,10 +105,6 @@ var (
// for watch request, test GOAWAY server push 1 byte in every second.
responseBody = []byte("hello")
// responseBodySize is the size of response body which test GOAWAY server sent for watch request,
// used to check if watch request was broken by GOAWAY frame.
responseBodySize = len(responseBody) //nolint:unused
// requestPostBody is the request body which client must send to test GOAWAY server for POST method,
// otherwise, test GOAWAY server will respond 400 HTTP status code.
requestPostBody = responseBody