Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e9e8ffc7
Commit
e9e8ffc7
authored
Sep 28, 2017
by
Carl Bergquist
Committed by
GitHub
Sep 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9367 from bobrik/dualstack
Enable dualstack in every net.Dialer, fixes #9364
parents
2ec7bbb2
9a4ae302
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
0 deletions
+6
-0
pkg/api/app_routes.go
+1
-0
pkg/api/grafana_com_proxy.go
+1
-0
pkg/cmd/grafana-cli/services/services.go
+1
-0
pkg/components/imguploader/webdavuploader.go
+1
-0
pkg/models/datasource_cache.go
+1
-0
pkg/services/notifications/webhook.go
+1
-0
No files found.
pkg/api/app_routes.go
View file @
e9e8ffc7
...
@@ -25,6 +25,7 @@ var pluginProxyTransport = &http.Transport{
...
@@ -25,6 +25,7 @@ var pluginProxyTransport = &http.Transport{
Dial
:
(
&
net
.
Dialer
{
Dial
:
(
&
net
.
Dialer
{
Timeout
:
30
*
time
.
Second
,
Timeout
:
30
*
time
.
Second
,
KeepAlive
:
30
*
time
.
Second
,
KeepAlive
:
30
*
time
.
Second
,
DualStack
:
true
,
})
.
Dial
,
})
.
Dial
,
TLSHandshakeTimeout
:
10
*
time
.
Second
,
TLSHandshakeTimeout
:
10
*
time
.
Second
,
}
}
...
...
pkg/api/grafana_com_proxy.go
View file @
e9e8ffc7
...
@@ -19,6 +19,7 @@ var grafanaComProxyTransport = &http.Transport{
...
@@ -19,6 +19,7 @@ var grafanaComProxyTransport = &http.Transport{
Dial
:
(
&
net
.
Dialer
{
Dial
:
(
&
net
.
Dialer
{
Timeout
:
30
*
time
.
Second
,
Timeout
:
30
*
time
.
Second
,
KeepAlive
:
30
*
time
.
Second
,
KeepAlive
:
30
*
time
.
Second
,
DualStack
:
true
,
})
.
Dial
,
})
.
Dial
,
TLSHandshakeTimeout
:
10
*
time
.
Second
,
TLSHandshakeTimeout
:
10
*
time
.
Second
,
}
}
...
...
pkg/cmd/grafana-cli/services/services.go
View file @
e9e8ffc7
...
@@ -30,6 +30,7 @@ func Init(version string) {
...
@@ -30,6 +30,7 @@ func Init(version string) {
DialContext
:
(
&
net
.
Dialer
{
DialContext
:
(
&
net
.
Dialer
{
Timeout
:
30
*
time
.
Second
,
Timeout
:
30
*
time
.
Second
,
KeepAlive
:
30
*
time
.
Second
,
KeepAlive
:
30
*
time
.
Second
,
DualStack
:
true
,
})
.
DialContext
,
})
.
DialContext
,
MaxIdleConns
:
100
,
MaxIdleConns
:
100
,
IdleConnTimeout
:
90
*
time
.
Second
,
IdleConnTimeout
:
90
*
time
.
Second
,
...
...
pkg/components/imguploader/webdavuploader.go
View file @
e9e8ffc7
...
@@ -25,6 +25,7 @@ var netTransport = &http.Transport{
...
@@ -25,6 +25,7 @@ var netTransport = &http.Transport{
Proxy
:
http
.
ProxyFromEnvironment
,
Proxy
:
http
.
ProxyFromEnvironment
,
Dial
:
(
&
net
.
Dialer
{
Dial
:
(
&
net
.
Dialer
{
Timeout
:
60
*
time
.
Second
,
Timeout
:
60
*
time
.
Second
,
DualStack
:
true
,
})
.
Dial
,
})
.
Dial
,
TLSHandshakeTimeout
:
5
*
time
.
Second
,
TLSHandshakeTimeout
:
5
*
time
.
Second
,
}
}
...
...
pkg/models/datasource_cache.go
View file @
e9e8ffc7
...
@@ -54,6 +54,7 @@ func (ds *DataSource) GetHttpTransport() (*http.Transport, error) {
...
@@ -54,6 +54,7 @@ func (ds *DataSource) GetHttpTransport() (*http.Transport, error) {
Dial
:
(
&
net
.
Dialer
{
Dial
:
(
&
net
.
Dialer
{
Timeout
:
30
*
time
.
Second
,
Timeout
:
30
*
time
.
Second
,
KeepAlive
:
30
*
time
.
Second
,
KeepAlive
:
30
*
time
.
Second
,
DualStack
:
true
,
})
.
Dial
,
})
.
Dial
,
TLSHandshakeTimeout
:
10
*
time
.
Second
,
TLSHandshakeTimeout
:
10
*
time
.
Second
,
ExpectContinueTimeout
:
1
*
time
.
Second
,
ExpectContinueTimeout
:
1
*
time
.
Second
,
...
...
pkg/services/notifications/webhook.go
View file @
e9e8ffc7
...
@@ -28,6 +28,7 @@ var netTransport = &http.Transport{
...
@@ -28,6 +28,7 @@ var netTransport = &http.Transport{
Proxy
:
http
.
ProxyFromEnvironment
,
Proxy
:
http
.
ProxyFromEnvironment
,
Dial
:
(
&
net
.
Dialer
{
Dial
:
(
&
net
.
Dialer
{
Timeout
:
30
*
time
.
Second
,
Timeout
:
30
*
time
.
Second
,
DualStack
:
true
,
})
.
Dial
,
})
.
Dial
,
TLSHandshakeTimeout
:
5
*
time
.
Second
,
TLSHandshakeTimeout
:
5
*
time
.
Second
,
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment