]> git.ipfire.org Git - thirdparty/pdns.git/commit
Embedding the Message in an optional is not working properly,
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 30 Oct 2020 10:20:36 +0000 (11:20 +0100)
committerOtto Moerbeek <otto@drijf.net>
Tue, 10 Nov 2020 08:17:13 +0000 (09:17 +0100)
commit83b261a72ce427e308746c5cd2c8b4adda1e8048
treebe8e77d4e5d40f55893dd98cafdc58fbd3b2da77
parentf99748e209d0639b344eacf07688872cc9e2cb80
Embedding the Message in an optional is not working properly,
somewhere move or copy semantics are violated.

To avoid heap allocatiom, move the a scheme where we always have a
Message. Later we can change the buffers to be thead-local as well.
pdns/pdns_recursor.cc
pdns/protozero.hh