mirror of
https://github.com/netdata/netdata.git
synced 2025-04-24 21:24:12 +00:00
fix(go.d/pkg/web): correct close idle connections (#19052)
This commit is contained in:
parent
29ac159500
commit
febdb5e312
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ func (t *http2Transport) RoundTrip(req *http.Request) (resp *http.Response, err
|
||||||
return t.t2c.RoundTrip(req)
|
return t.t2c.RoundTrip(req)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *http2Transport) CloseIdleConnection() {
|
func (t *http2Transport) CloseIdleConnections() {
|
||||||
t.t2.CloseIdleConnections()
|
t.t2.CloseIdleConnections()
|
||||||
t.t2c.CloseIdleConnections()
|
t.t2c.CloseIdleConnections()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue