]> git.ipfire.org Git - thirdparty/pdns.git/commit
feat(dnsdist): Also send delayed protobuf for TCP queries
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 17 Oct 2025 11:46:16 +0000 (13:46 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 17 Oct 2025 13:01:27 +0000 (15:01 +0200)
commit016cef86f85801d11c4054eb91beecdad4f3a06d
tree33c8575ee153a627b39e68cb9f35737ad8aeae29
parenta63c70facb4955515bdac972d5969ad47b13061d
feat(dnsdist): Also send delayed protobuf for TCP queries

This commit makes some changes to how delayed messages are sent. We now
store the raw, serialized DNSMessage protobuf data in the id-state
object when a send delay is needed.

When the delayed protobuf has to be sent, we generate the OpenTelemetry
Trace data and append it to the message to be sent.
pdns/dnsdistdist/dnsdist-actions-factory.cc
pdns/dnsdistdist/dnsdist-idstate.cc
pdns/dnsdistdist/dnsdist-idstate.hh
pdns/dnsdistdist/dnsdist-protobuf.cc
pdns/dnsdistdist/dnsdist-protobuf.hh
pdns/dnsdistdist/dnsdist.cc