]> git.ipfire.org Git - thirdparty/pdns.git/commit
fix(dnsdist): Move Tracer to shared_ptr
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 2 Oct 2025 11:31:32 +0000 (13:31 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 14 Oct 2025 18:34:58 +0000 (20:34 +0200)
commit337efced03100e2d925485d6fdc32a7febf35f72
tree8c0d9ff738e5e47ee271e01b649666db97b09d72
parente373dac931539e3fbe28cf0d7c9cb299faf81266
fix(dnsdist): Move Tracer to shared_ptr

This makes it impossible to create a Tracer object outside of a
shared_ptr as well. Thanks to Remi for the shared_from_this hint.
pdns/dnsdistdist/dnsdist-idstate.hh
pdns/dnsdistdist/dnsdist-opentelemetry.cc
pdns/dnsdistdist/dnsdist-opentelemetry.hh
pdns/dnsdistdist/test-dnsdist-opentelemetry_cc.cc