diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-27 22:58:17 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-28 14:46:39 +0100 |
commit | f535705a457f9bee976a45baf20272b7228d0c65 (patch) | |
tree | 55468ff4355a91f7b6a6c83e6c73f94fbec3db4b /src/resolve/resolved-dns-cache.c | |
parent | ca994e853c5408fcdeee66580e8b5056ad9e2c15 (diff) |
resolved: clean up dns_transaction_stop()
This renames dns_transaction_stop() to dns_transaction_stop_timeout()
and makes it only about stopping the transaction timeout. This is safe,
as in most occasions we call dns_transaction_stop() at the same time as
dns_transaction_close_connection() anyway, which does the rest of what
dns_transaction_stop() used to do. And in the one where we don't call
it, it's implicitly called by the UDP emission or TCP connection code.
This also closes the connections as we enter the validation phase of a
transaction, so that no further messages may be received then.
Diffstat (limited to 'src/resolve/resolved-dns-cache.c')
0 files changed, 0 insertions, 0 deletions