Skip to content

Commit d7633a5

Browse files
committed
do not drop connection if process message has error
1 parent 5608601 commit d7633a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

websocket.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ func (s *Server) Handler(w http.ResponseWriter, r *http.Request) {
268268
header.Masked = false
269269
if err = s.processMessage(connection, header, payload); err != nil {
270270
log.Print(err)
271-
s.dropConn(connection)
272-
return
273271
}
274272
}
275273
}

0 commit comments

Comments
 (0)