8000 Handle Errno::ECONNRESET · destructobeam/async-websocket@3f24980 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f24980

Browse files
committed
Handle Errno::ECONNRESET
1 parent 5379f62 commit 3f24980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/async/websocket/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def next_event
6161
end
6262

6363
@queue.shift
64-
rescue EOFError
64+
rescue EOFError, Errno::ECONNRESET
6565
return nil
6666
end
6767

0 commit comments

Comments
 (0)
0