summaryrefslogtreecommitdiff
path: root/src/resolve/org.freedesktop.resolve1.conf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-09 18:05:53 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-10 11:35:52 +0100
commit2f763887b8696f2fd2d577bfbd011f3b2e889c1a (patch)
tree77ec716f37c6ba5132445e397cf4697d5908ca41 /src/resolve/org.freedesktop.resolve1.conf
parent48d5616b9258cc5d1af1d4b934cea7970aa55a28 (diff)
resolved: grow DnsAnswer exponentially
When increasing the DnsAnswer array, don't operate piecemeal, grow the array exponentially. This way, the default logic for DnsAnswer allocations matches the behaviour for GREEDY_REALLOC and suchlike, and we can reduce the number of necessary allocations.
Diffstat (limited to 'src/resolve/org.freedesktop.resolve1.conf')
0 files changed, 0 insertions, 0 deletions