diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-11-06 13:32:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-02-15 23:14:32 +0100 |
commit | 80710ade03d971a8877fde8ce9d42eb2b07f4c47 (patch) | |
tree | da07a32bb5416b4b26a20b5b1a3217a970726f9b /src/resolve/resolved-varlink.c | |
parent | Merge pull request #18605 from poettering/suppress-repeated-stub (diff) | |
download | systemd-80710ade03d971a8877fde8ce9d42eb2b07f4c47.tar.xz systemd-80710ade03d971a8877fde8ce9d42eb2b07f4c47.zip |
resolved: instead of closing DNS UDP transaction fds right-away, add them to a socket "graveyard"
The "socket graveyard" shall contain sockets we have sent a question out
of, but not received a reply. If we'd close thus sockets immediately
when we are not interested anymore, we'd trigger ICMP port unreachable
messages once we after all *do* get a reply. Let's avoid that, by
leaving the fds open for a bit longer, until a timeout is reached or a
reply datagram received.
Fixes: #17421
Diffstat (limited to 'src/resolve/resolved-varlink.c')
0 files changed, 0 insertions, 0 deletions