]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist-1.9.x: Fix compatibility with boost::lockfree >= 1.87.0 15181/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 10 Feb 2025 10:24:28 +0000 (11:24 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 20 Feb 2025 10:13:37 +0000 (11:13 +0100)
commit509585523cccdf8e33578152669e8cf22b1070a2
treee4773a52b0e81451e8fb15a33c0f3f3739951eec
parent012608387fb6defb35102de42d5967da4fc280fa
dnsdist-1.9.x: Fix compatibility with boost::lockfree >= 1.87.0

In https://github.com/boostorg/lockfree/pull/90 `boost::lockfree::spsc_queue`
introduced moved semantics, which is great, but added restrictions
to the callback functor that did not exist before, breaking the API.
This PR fixes that by updating our callbacks to expect an object
instead of a reference.

(cherry picked from commit 05543aed8ccff2270a65d3f9b75e6e9d894b8b45)
pdns/dnsdistdist/dnsdist-xsk.cc
pdns/xsk.cc
pdns/xsk.hh