diff --git a/src/HTTP.jl b/src/HTTP.jl index 035e67f29..e4c080f8a 100644 --- a/src/HTTP.jl +++ b/src/HTTP.jl @@ -610,9 +610,6 @@ function stack(;redirect=true, verbose=0, kw...) - # hard code readtimeout of 0 to disable timeout until #341 can be properly resolved - readtimeout = 0 - NoLayer = Union (redirect ? RedirectLayer : NoLayer){ diff --git a/src/Servers.jl b/src/Servers.jl index 00833908d..c693b288f 100644 --- a/src/Servers.jl +++ b/src/Servers.jl @@ -195,7 +195,7 @@ function listen(f, connection_count::Ref{Int}=Ref(0), rate_limit::Union{Rational{Int}, Nothing}=nothing, reuse_limit::Int=nolimit, - readtimeout::Int=60, + readtimeout::Int=0, verbose::Bool=false) inet = getinet(host, port)