Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break out fcgi code into orig Go files, don't close after request #817

Merged
merged 1 commit into from
Mar 9, 2016

Conversation

sparrc
Copy link
Contributor

@sparrc sparrc commented Mar 9, 2016

closes #816

@kureikain can you take a look at this? I'm breaking these out into separate files, and the main change I'm making is to remove this defer close line completely: https://github.com/influxdata/telegraf/compare/cs816?expand=1#diff-20598882a40d49d97234c692fcab8696L304

I don't quite understand how that could work, Why would you want to close the connection after every request? Was that intentional?

@sparrc
Copy link
Contributor Author

sparrc commented Mar 9, 2016

nevermind, looks like the issue was actually from ignoring errors when creating the client

@sparrc sparrc merged commit 805db7c into master Mar 9, 2016
@sparrc sparrc deleted the cs816 branch March 9, 2016 18:25
@v9n
Copy link
Contributor

v9n commented Mar 11, 2016

@sparrc Sorry for the issue, Didn't get this easilier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[0.10.4.1] : panic: runtime error: invalid memory address or nil pointer dereference
2 participants