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

dnsdist: Fix FD leak on TCP connection failure, handle TCP worker creation failure #4753

Merged
merged 2 commits into from Dec 12, 2016

Conversation

rgacogne
Copy link
Member

@rgacogne rgacogne commented Dec 9, 2016

Short description

dnsdist might have leaked the file descriptor corresponding to a TCP socket if the initial connect() call failed and triggered an exception.
It might also have exited in the unlikely event of a failure during the creation of a TCP worker thread.

Checklist

I have:

@rgacogne rgacogne added this to the dnsdist-1.1.0 milestone Dec 9, 2016
@rgacogne rgacogne merged commit 2cef051 into PowerDNS:master Dec 12, 2016
@rgacogne rgacogne deleted the dnsdist-tcp-fixes branch December 12, 2016 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant