HTTP.jl
HTTP.jl copied to clipboard
Server never wrote a response
- Julia 1.6.7
- HTTP.jl 1.7.4
Quick example:
using HTTP
HTTP.serve(HTTP.Router(), "0.0.0.0", 1234;stream=true)
Error message:
┌ Error: handle_connection handler error
│ exception =
│ Server never wrote a response
│ Stacktrace:
│ [1] error(s::String)
│ @ Base ./error.jl:33
│ [2] handle_connection(f::HTTP.Handlers.Router{typeof(HTTP.Handlers.default404), typeof(HTTP.Handlers.default405), Nothing}, c::HTTP.ConnectionPool.Connection{Sockets.TCPSocket}, listener::HTTP.Servers.Listener{Nothing, Sockets.TCPServer}, readtimeout::Int64, access_log::Nothing)
│ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:450
│ [3] (::HTTP.Servers.var"#16#17"{HTTP.Handlers.Router{typeof(HTTP.Handlers.default404), typeof(HTTP.Handlers.default405), Nothing}, HTTP.Servers.Listener{Nothing, Sockets.TCPServer}, Set{HTTP.ConnectionPool.Connection}, Int64, Nothing, Base.Semaphore, HTTP.ConnectionPool.Connection{Sockets.TCPSocket}})()
│ @ HTTP.Servers ./task.jl:417
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:461
···