]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: don't read packet from DnsStream on on_stream_complete() of DnsTransaction
authorLennart Poettering <lennart@poettering.net>
Tue, 4 Dec 2018 19:19:16 +0000 (20:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 7 Dec 2018 16:16:29 +0000 (17:16 +0100)
commit97d5d9055f0cdfdfee901452848a519b49896382
treeca550df487af79f17dcb6464713c2a081671213e
parentaa337a5e729829058888a4da0b5ad5813dd1d5b4
resolved: don't read packet from DnsStream on on_stream_complete() of DnsTransaction

We register an on_packet() handler anyway, which is called first.
There's hence no need to check in on_stream_complete() again, as it is
already taken by that time.
src/resolve/resolved-dns-transaction.c