Skip to content

Commit

Permalink
added a continue for when the next reader receives an unexpected eof
Browse files Browse the repository at this point in the history
  • Loading branch information
zephinzer committed Jun 29, 2021
1 parent 909a776 commit eb23d5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/xtermjs/handler_websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func GetHandler(opts HandlerOpts) func(http.ResponseWriter, *http.Request) {
if err != nil {
if !connectionClosed {
clog.Warnf("failed to get next reader: %s", err)
continue
}
return
}
Expand Down

0 comments on commit eb23d5c

Please sign in to comment.