Pārlūkot izejas kodu

Merge pull request #155 from nroi/master

Add address family for inet:gethostbyname/2 call
pull/158/head
Chandrashekhar Mullaparthi pirms 7 gadiem
revīziju iesūtīja GitHub
vecāks
revīzija
555f7074c3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/ibrowse_http_client.erl

+ 1
- 1
src/ibrowse_http_client.erl Parādīt failu

@ -619,7 +619,7 @@ is_ipv6_host(Host) ->
{ok, {_, _, _, _}} ->
false;
_ ->
case inet:gethostbyname(Host) of
case inet:gethostbyname(Host, inet6) of
{ok, #hostent{h_addrtype = inet6}} ->
true;
_ ->

Notiek ielāde…
Atcelt
Saglabāt