Skip to content

Commit

Permalink
sockets: support IDNA 2008 (punycode) in getaddrinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Nov 30, 2018
1 parent 586e636 commit 092657d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion stdlib/Sockets/src/addrinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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}),
Expand Down

0 comments on commit 092657d

Please sign in to comment.