From 092657d3896df1c28095ca122315db2c15001d7a Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Fri, 30 Nov 2018 17:16:17 -0500 Subject: [PATCH] sockets: support IDNA 2008 (punycode) in getaddrinfo Refs: https://github.com/libuv/libuv/pull/2046 --- stdlib/Sockets/src/addrinfo.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/stdlib/Sockets/src/addrinfo.jl b/stdlib/Sockets/src/addrinfo.jl index d9c765f199d9b..59e4f2dae1088 100644 --- a/stdlib/Sockets/src/addrinfo.jl +++ b/stdlib/Sockets/src/addrinfo.jl @@ -57,7 +57,6 @@ julia> getalladdrinfo("google.com") ``` """ function getalladdrinfo(host::String) - isascii(host) || error("non-ASCII hostname: $host") req = Libc.malloc(Base._sizeof_uv_getaddrinfo) uv_req_set_data(req, C_NULL) # in case we get interrupted before arriving at the wait call status = ccall(:jl_getaddrinfo, Int32, (Ptr{Cvoid}, Ptr{Cvoid}, Cstring, Ptr{Cvoid}, Ptr{Cvoid}),