Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
SisMaker
/
ibrowse
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Projects
0
Lanzamientos
30
Wiki
Actividad
Explorar el Código
Merge pull request
#155
from nroi/master
Add address family for inet:gethostbyname/2 call
pull/158/head
Chandrashekhar Mullaparthi
hace 7 años
cometido por
GitHub
padre
c97136cfb6
ce20f975b4
commit
555f7074c3
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
src/ibrowse_http_client.erl
+ 1
- 1
src/ibrowse_http_client.erl
Ver fichero
@ -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
;
_
-
>
Escribir
Vista previa
Cargando…
Cancelar
Guardar