We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba35249 commit 3c66e49Copy full SHA for 3c66e49
internal/client/httpclient.go
@@ -43,5 +43,6 @@ func NewClient(timeout int64, proxy string) *Client {
43
}
44
45
func (cli *Client) Do(req *fasthttp.Request, resp *fasthttp.Response) error {
46
+ req.Header.SetConnectionClose() // to set connection: close
47
return cli.client.DoTimeout(req, resp, time.Second*time.Duration(cli.timeout))
48
0 commit comments