You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2022/10/09 22:37:15 UTC
[calcite-avatica-go] 03/08: [CALCITE-5319] Remove DualStack dial option in HTTP client as it is deprecated and enabled by default
This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git
commit b79abe07f06e6a049dd88c8c8a83127b614a293e
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Mon Oct 10 09:07:51 2022 +1100
[CALCITE-5319] Remove DualStack dial option in HTTP client as it is deprecated and enabled by default
---
http_client.go | 1 -
1 file changed, 1 deletion(-)
diff --git a/http_client.go b/http_client.go
index e94e66b..d510f96 100644
--- a/http_client.go
+++ b/http_client.go
@@ -61,7 +61,6 @@ func NewHTTPClient(host string, baseClient *http.Client, config *Config) (*httpC
DialContext: (&net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
- DualStack: true,
}).DialContext,
MaxIdleConns: 100,
IdleConnTimeout: 90 * time.Second,