support IPv6

This commit is contained in:
Chris Lu committed 2021-03-02 20:59:39 -08:00
1 parent bcf32591b7
commit e982b06bcd
7 files changed
+28 -42

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ var (
WriteTimeout: time.Second,
MaxIdleConnDuration: time.Minute,
DisableHeaderNamesNormalizing: true, // If you set the case on your headers correctly you can enable this.
DialDualStack: true,
}
// Put everything in pools to prevent garbage.