]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/io: remove minor inefficiency
authorOto Šťáva <oto.stava@nic.cz>
Mon, 20 May 2024 16:22:19 +0000 (18:22 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Tue, 4 Jun 2024 11:04:59 +0000 (13:04 +0200)
commiteb92b181e5dd6455e98d4827857ce7967417ff98
treeeb2ed894608d585a3d05cc4a4298d92166ff8720
parent9468c57ecec56694c4b7a64471e61e0f624e1e89
daemon/io: remove minor inefficiency

The resolver would try to move the bytes in the wire buffer over even if
the incoming data would not fit anyway. This should prevent that.
daemon/io.c