Skip to content

Commit 01a7e1d

Browse files
committed
mod: remove connection close header
1 parent 3c66e49 commit 01a7e1d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/client/httpclient.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,5 @@ func NewClient(timeout int64, proxy string) *Client {
4343
}
4444

4545
func (cli *Client) Do(req *fasthttp.Request, resp *fasthttp.Response) error {
46-
req.Header.SetConnectionClose() // to set connection: close
4746
return cli.client.DoTimeout(req, resp, time.Second*time.Duration(cli.timeout))
4847
}

0 commit comments

Comments
 (0)