]> git.ipfire.org Git - thirdparty/glibc.git/commit
resolv: Do not wait for non-existing second DNS response after error (bug 30081)
authorFlorian Weimer <fweimer@redhat.com>
Wed, 24 Jul 2024 10:06:47 +0000 (12:06 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 24 Jul 2024 12:56:29 +0000 (14:56 +0200)
commitdf808340fd14a164f58a0a16df2e767d8ae1a1ba
treee9a5a825ebb1fdc956fc6ceb270d4bce3896f312
parentc44ea7914cf30a61bec3fb1cebe6831cfa4f8bd4
resolv: Do not wait for non-existing second DNS response after error (bug 30081)

In single-request mode, there is no second response after an error
because the second query has not been sent yet.  Waiting for it
introduces an unnecessary timeout.

Reviewed-by: DJ Delorie <dj@redhat.com>
(cherry picked from commit af625987d619388a100b153520d3ee308bda9889)
NEWS
resolv/Makefile
resolv/res_send.c
resolv/tst-resolv-semi-failure.c [new file with mode: 0644]
resolv/tst-resolv-short-response.c