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
getdns: cleanup the config and add libevent2 support #17450
Conversation
LGTM. Aside: Ideally the same approach should be adopted for the stubby package as well, which, at the moment, just hard removes libunbound and libidn2 dependencies rather than making them options. |
Oh, this is confusing… Are you sure |
16886e4
to
424aae9
Compare
I am actually not 100% sure, as I haven't maintained stubby or getdns for many months. another contributer added this to the stubby Makefile build prepartion step though:
To prevent libidn2 and libunbound being pulled in as dependencies. I was suggesting that it might be better to offer those as confiuration options. But, perhaps that makes no sense - I am not sure. |
These cmake modules are actually never referenced. Stubby itself doesn't link to libidn or libunbound, only getdns does. They're most likely leftovers from when stubby was split from getdns to its own repository. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Adding @neheb to the party. 😉 So, after digging for a while, it seems that those |
Broken for me, starting from a
config is unbound built in to image, and stubby as an installable module |
It’s worse than that: Package stubby is missing dependencies for the following libraries: |
How odd, I haven't hit that! Let me test here… |
Alright, I think I'm seeing a potential issue. I wonder why I haven't hit it at all…? Let me cook a patch… |
While adding patches... It's not clear why this was added. Why/when would one want libevent2 support? What does one gain? |
That's a wonderful question. Ideally, performance, with many concurrent requests. In reality, absolutely nothing: I spent the last hours digging through the |
Alright, even that already helps, thanks for digging in! |
A couple of commits enabling
$subj
. First we make the config options a bit less cryptic, then we enable support for compiling with alibevent2
-based event loop. I've been carrying these patches in my tree for over a year, building and running on several architectures (x86-64, ramips/mt7621, ath79/generic, mvebu/cortexa9) without any issues whatsoever.Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Maintainer: @jonathanunderwood