Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Rekisteröidy
Kirjaudu sisään
SisMaker
/
ibrowse
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Projects
0
Julkaisut
30
Wiki
Toiminta
Selaa lähdekoodia
Merge pull request
#155
from nroi/master
Add address family for inet:gethostbyname/2 call
pull/158/head
Chandrashekhar Mullaparthi
7 vuotta sitten
committed by
GitHub
vanhempi
c97136cfb6
ce20f975b4
commit
555f7074c3
1 muutettua tiedostoa
jossa
1 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/ibrowse_http_client.erl
+ 1
- 1
src/ibrowse_http_client.erl
Näytä tiedosto
@ -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
;
_
-
>
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna