mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
* resolv/res_send.c (send_dg): Don't switch into single-request
mode if we already are in it.
This commit is contained in:
@ -1048,7 +1048,9 @@ send_dg(res_state statp,
|
||||
}
|
||||
if (n == 0) {
|
||||
Dprint(statp->options & RES_DEBUG, (stdout, ";; timeout\n"));
|
||||
if (resplen > 1 && (recvresp1 || (buf2 != NULL && recvresp2)))
|
||||
if (!single_request
|
||||
&& resplen > 1
|
||||
&& (recvresp1 || (buf2 != NULL && recvresp2)))
|
||||
{
|
||||
/* There are quite a few broken name servers out
|
||||
there which don't handle two outstanding
|
||||
|
Reference in New Issue
Block a user