Skip to content

Commit

Permalink
Resetting read deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
craigday committed May 14, 2018
1 parent acf07d4 commit 7310c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proxy/ws_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ func newWSHandler(host string, dial dialFunc) http.Handler {
return
}

out.SetReadDeadline(time.Time{});

errc := make(chan error, 2)
cp := func(dst io.Writer, src io.Reader) {
_, err := io.Copy(dst, src)
Expand Down

0 comments on commit 7310c76

Please sign in to comment.