fix(go.d/pkg/web): correct close idle connections (#19052)
Ilya Mashchenko committed
Nov 21, 2024 at 01:21 UTC
febdb5e312fe63b9e6055ab00749ae4e4060d869
1 file changed
+1
-1
src/go/plugin/go.d/pkg/web/client_config.go
+1
-1
@@ -125,7 +125,7 @@ func (t *http2Transport) RoundTrip(req *http.Request) (resp *http.Response, err
125
return t.t2c.RoundTrip(req)
126
}
127
128
-func (t *http2Transport) CloseIdleConnection() {
128
+func (t *http2Transport) CloseIdleConnections() {
129
t.t2.CloseIdleConnections()
130
t.t2c.CloseIdleConnections()
131
}