From e29e4f1bc6729269335b59201d8b8d6c64970433 Mon Sep 17 00:00:00 2001 From: Aykhan Shahsuvarov Date: Tue, 14 Jan 2025 20:43:45 +0400 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20Remove=20'CloseIdleConnectio?= =?UTF-8?q?ns'=20from=20'Send'=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requests/request.go | 1 - 1 file changed, 1 deletion(-) diff --git a/requests/request.go b/requests/request.go index 29ca89c..07a37a6 100644 --- a/requests/request.go +++ b/requests/request.go @@ -26,7 +26,6 @@ type Request struct { func (r *Request) Send(ctx context.Context, timeout time.Duration) (*fasthttp.Response, error) { client := r.getClient() request := r.getRequest() - defer client.CloseIdleConnections() defer fasthttp.ReleaseRequest(request) response := fasthttp.AcquireResponse() From e43378a9a41e495da21c7e771aed399f34d4a91e Mon Sep 17 00:00:00 2001 From: Aykhan Shahsuvarov Date: Wed, 15 Jan 2025 21:43:46 +0400 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=96=20bump=20version=20to=200.5.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 2254b6e..127ab1d 100644 --- a/config/config.go +++ b/config/config.go @@ -12,7 +12,7 @@ import ( ) const ( - VERSION string = "0.5.502" + VERSION string = "0.5.6" DefaultUserAgent string = "Dodo/" + VERSION ProxyCheckURL string = "https://www.google.com" DefaultMethod string = "GET"