Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
telegraf-nftables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Due to inactivity, this project is scheduled to be deleted on 2035-04-24.
Why is this scheduled?
Show more breadcrumbs
vqgroup
telegraf-nftables
Commits
411d8d74
Commit
411d8d74
authored
9 years ago
by
Cameron Sparr
Browse files
Options
Downloads
Patches
Plain Diff
Fix leaky tcp connections in phpfpm plugin
closes #1089
parent
671b40df
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
plugins/inputs/phpfpm/phpfpm.go
+1
-0
1 addition, 0 deletions
plugins/inputs/phpfpm/phpfpm.go
with
2 additions
and
0 deletions
CHANGELOG.md
+
1
−
0
View file @
411d8d74
...
...
@@ -53,6 +53,7 @@ based on _prefix_ in addition to globs. This means that a filter like
-
[
#1022
](
https://github.com/influxdata/telegraf/issues/1022
)
: Dont error deb/rpm install on systemd errors.
-
[
#1078
](
https://github.com/influxdata/telegraf/issues/1078
)
: Use default AWS credential chain.
-
[
#1070
](
https://github.com/influxdata/telegraf/issues/1070
)
: SQL Server input. Fix datatype conversion.
-
[
#1089
](
https://github.com/influxdata/telegraf/issues/1089
)
: Fix leaky TCP connections in phpfpm plugin.
## v0.12.1 [2016-04-14]
...
...
This diff is collapsed.
Click to expand it.
plugins/inputs/phpfpm/phpfpm.go
+
1
−
0
View file @
411d8d74
...
...
@@ -184,6 +184,7 @@ func (g *phpfpm) gatherHttp(addr string, acc telegraf.Accumulator) error {
return
fmt
.
Errorf
(
"Unable to connect to phpfpm status page '%s': %v"
,
addr
,
err
)
}
defer
res
.
Body
.
Close
()
if
res
.
StatusCode
!=
200
{
return
fmt
.
Errorf
(
"Unable to get valid stat result from '%s': %v"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment