diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-03-14 17:57:22 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-03-14 17:57:22 +0100 |
commit | 7176a85cd48d37bc068312ffa79f254305cf4511 (patch) | |
tree | 373233a31a25043d22d6b2d89adeb531fc826720 /newlib/libc/include/stdatomic.h | |
parent | f75114fc597e05b2d3d14df4c264657e4de58221 (diff) | |
download | cygnal-7176a85cd48d37bc068312ffa79f254305cf4511.tar.gz cygnal-7176a85cd48d37bc068312ffa79f254305cf4511.tar.bz2 cygnal-7176a85cd48d37bc068312ffa79f254305cf4511.zip |
cygwin_getaddrinfo: workaround Winsock getaddrinfo issue with broken DNS
Add experimental code to workaround the issue described in the thread
starting at
https://cygwin.com/ml/cygwin/2015-07/msg00350.html
There's a hint in https://communities.vmware.com/message/2577858#2577858
that this problem is related to using the AI_ALL flag.
This patch checks if GetAddrInfoW returned with WSANO_RECOVERY and if
the AI_ALL flag was set, it retries GetAddrInfo without the AI_ALL flag.
* net.cc (cygwin_getaddrinfo): Add experimental code to retry
GetAddrInfoW without AI_ALL flag if it returned with WSANO_RECOVERY.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/include/stdatomic.h')
0 files changed, 0 insertions, 0 deletions