Re: [Qemu-devel] [PATCH v2] util: retry getaddrinfo if getting EAI_BADFLAGS with AI_V4MAPPED

2016-04-04 Thread Ed Maste
On 4 April 2016 at 16:22, Daniel P. Berrange wrote: > The FreeBSD header files define the AI_V4MAPPED but its > implementation of getaddrinfo() always returns an error > when that flag is set. eg > [...] > --- > > Changed in v2: > > - Fix test case usage of AI_V4MAPPED > -

[Qemu-devel] [PATCH v2] util: retry getaddrinfo if getting EAI_BADFLAGS with AI_V4MAPPED

2016-04-04 Thread Daniel P. Berrange
The FreeBSD header files define the AI_V4MAPPED but its implementation of getaddrinfo() always returns an error when that flag is set. eg address resolution failed for localhost:9000: Invalid value for ai_flags There are also reports of the same problem on OS-X 10.6 Since AI_V4MAPPED is not