mirror of
https://github.com/grafana/grafana.git
synced 2025-07-28 17:42:20 +08:00
feat(datasource): cancel in flight data source requests, refeatoring #5321
This commit is contained in:
@ -63,6 +63,8 @@ func NewReverseProxy(ds *m.DataSource, proxyPath string, targetUrl *url.URL) *ht
|
||||
req.Header.Add("Authorization", dsAuth)
|
||||
}
|
||||
|
||||
time.Sleep(time.Second * 5)
|
||||
|
||||
// clear cookie headers
|
||||
req.Header.Del("Cookie")
|
||||
req.Header.Del("Set-Cookie")
|
||||
|
Reference in New Issue
Block a user