aboutsummaryrefslogtreecommitdiff
path: root/client_test.go
diff options
context:
space:
mode:
authorGravatar ArminBTVS <98586621+ArminBTVS@users.noreply.github.com> 2022-03-14 10:53:16 +0100
committerGravatar GitHub <noreply@github.com> 2022-03-14 10:53:16 +0100
commit1a5f2f40c6a75d42c5c5935efc73f79644cd5b73 (patch)
tree96fcff0fa6f774b124b7ffb23e422731377f15b4 /client_test.go
parentUpdate github.com/klauspost/compress (#1237) (diff)
downloadfasthttp-1a5f2f40c6a75d42c5c5935efc73f79644cd5b73.tar.gz
fasthttp-1a5f2f40c6a75d42c5c5935efc73f79644cd5b73.tar.bz2
fasthttp-1a5f2f40c6a75d42c5c5935efc73f79644cd5b73.zip
Read response when client closes connection #1232 (#1233)
* Read response when client closes connection #1232 * Fix edge case were client responds with invalid header * Follow linter suggestions for tests * Changes after review * Reafactor error check after review * Handle connection reset on windows * Remove format string from test where not needed * Run connection reset tests not on Windows
Diffstat (limited to 'client_test.go')
-rw-r--r--client_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client_test.go b/client_test.go
index 78eda2e..30c8be7 100644
--- a/client_test.go
+++ b/client_test.go
@@ -2837,6 +2837,6 @@ func TestHttpsRequestWithoutParsedURL(t *testing.T) {
_, err := client.doNonNilReqResp(req, &Response{})
if err != nil {
- t.Fatalf("https requests with IsTLS client must succeed")
+ t.Fatal("https requests with IsTLS client must succeed")
}
}