]> granicus.if.org Git - pdns/commit
make appendRawLabel() version that accepts raw pointers (and point the std::string...
authorbert hubert <bert.hubert@netherlabs.nl>
Sun, 22 Nov 2015 22:01:32 +0000 (23:01 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sun, 22 Nov 2015 22:01:32 +0000 (23:01 +0100)
commite14febcf4cccb60cbf504297e02a40b70852f098
tree9d4df851ae77d72b1c3ead4c535d049de85e49ca
parentd12cea018d06290bb28e6b4bee2ff32eef5b00a1
make appendRawLabel() version that accepts raw pointers (and point the std::string version to it), do a smart reserve in the common packet parsing case. This reduces malloc calls/packet in dnsdist from 9/query to 3, only 1 of which comes from dnsname.
pdns/dnsname.cc
pdns/dnsname.hh