]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Allocate the DNSQuestion `dq` object on the stack
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 12 Dec 2016 09:04:13 +0000 (10:04 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 12 Dec 2016 09:04:13 +0000 (10:04 +0100)
commit6e505c5e50edff58bd7e479b55f8365fa050700c
treef917bbc818ed10560de6084fb0d0546706911bbd
parent2cef0511ede2968db8b14dc1eefff92b3329c264
rec: Allocate the DNSQuestion `dq` object on the stack

We don't need to allocate a `shared_ptr` for each query.
pdns/lua-recursor4.cc
pdns/lua-recursor4.hh
pdns/pdns_recursor.cc