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
Fix recursor not responsive after Lua config reload #11850
Fix recursor not responsive after Lua config reload #11850
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does compile with--disable-dnstap
. But:
FrameStreamExportConfig
and its methods can be moved into rec-main.cc
struct FrameStreamServersInfo
can be moved into rec-main.hh
inside the existing HAVE_FSTRM
block.
and then check again if it compile both with --disable-dnstap
and ``--enable-dnstap`
This also groups together 1) the list of frame stream servers, 2) the config from which the list was created and 3) the config's generation into a single struct called FrameStreamServersInfo. The struct is used to compare the old and new configuration to decide whether to destroy the old config object or not. Part of PowerDNS#11795
2ec9780
to
2e0757d
Compare
Backport #11850 (Fix recursor not responsive after Lua config reload) to rec 4.7.x
Short description
Fixes #11795
Checklist
I have: