]> sourceware.org Git - 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 10:07:24 +0000 (12:07 +0200)
commitaf625987d619388a100b153520d3ee308bda9889
tree0beb50158d4d65c0e0e5911194c7ff039dfa62c3
parent691a3b2e9bfaba842e46a5ccb7f5e6ea144c3ade
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>
resolv/Makefile
resolv/res_send.c
resolv/tst-resolv-semi-failure.c [new file with mode: 0644]
resolv/tst-resolv-short-response.c
This page took 0.037595 seconds and 5 git commands to generate.