diff --git a/Project.toml b/Project.toml index ea32a40..d9dea99 100644 --- a/Project.toml +++ b/Project.toml @@ -14,6 +14,7 @@ HTTP = "0.8,0.9" JSON3 = "1" StructTypes = "1" URIs = "1" +julia = "1" [extras] Sockets = "6462fe0b-24de-5631-8697-dd941f90decc" diff --git a/test/runtests.jl b/test/runtests.jl index 28feafa..f511600 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -8,7 +8,7 @@ function fivexx(http, c=500) HTTP.startwrite(http) HTTP.close(http.stream) end -const server = Sockets.listen(Sockets.InetAddr("0.0.0.0", 9100)) +const server = Sockets.listen(Sockets.InetAddr(Sockets.ip"0.0.0.0", 9100)) tsk = @async HTTP.listen("0.0.0.0", 9100; server=server) do http if http.message.method != "POST" return fivexx(http)