]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/worker: start retransmit timer after UDP packet is sent
authorŠtěpán Balážik <stepan.balazik@nic.cz>
Wed, 19 Aug 2020 08:52:17 +0000 (10:52 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 10 Sep 2020 10:05:59 +0000 (12:05 +0200)
commit85772a5da96c3200b046069875af91342759f38a
tree0c9b9517b33a35cdeef8e5040059f23ecd5b6a8f
parentf742d3bcff07f123574ee268c056239c589e5ef5
daemon/worker: start retransmit timer after UDP packet is sent

Previously this was done *before* calling uv_udp_send which lead to many
early retransmits (significant amount of time might pass between calling
uv_udp_send and the moment the packet is actually send to the wire).
daemon/worker.c