002-addr_info.patch 380 B

12345678910
  1. --- a/deps/uv/src/unix/getaddrinfo.c
  2. +++ b/deps/uv/src/unix/getaddrinfo.c
  3. @@ -99,6 +99,7 @@ static void uv__getaddrinfo_work(struct
  4. int err;
  5. req = container_of(w, uv_getaddrinfo_t, work_req);
  6. + req->hints->ai_flags &= ~AI_V4MAPPED;
  7. err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo);
  8. req->retcode = uv__getaddrinfo_translate_error(err);
  9. }