Skip to content

dnsdist: Add the TCP socket to the map only if the connection succeeds #4734

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

Merged

Conversation

rgacogne
Copy link
Member

@rgacogne rgacogne commented Dec 4, 2016

Short description

Otherwise we create a value-initialized (to 0) entry in the map and try to use it later, as reported by @philmayers and tracked down by @ahupowerdns in #4733.
Fixes #4733.

Checklist

I have:

Otherwise we create a value-initialized (to 0) entry in the map and
try to use it later.
@rgacogne rgacogne added this to the dnsdist-1.1.0 milestone Dec 4, 2016
@ahupowerdns ahupowerdns merged commit de08b9a into PowerDNS:master Dec 4, 2016
@rgacogne rgacogne deleted the dnsdist-tcp-ssocket-exception branch December 5, 2016 08:31
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.

2 participants