Skip to content

Commit

Permalink
Merge pull request #393 from Gowerlabs/master
Browse files Browse the repository at this point in the history
Fix Websocket timeout issues
  • Loading branch information
samoconnor authored Mar 15, 2019
2 parents 66cd222 + 1d1d0ef commit 39e89d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/HTTP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down
2 changes: 1 addition & 1 deletion src/Servers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 39e89d6

Please sign in to comment.