1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actioncable/test/connection
Jeremy Daer 4f8a8e2c06 Gracefully handle disconnected clients
We'll get `Errno::ECONNRESET` if the client forcibly disconnected.
Just close the socket rather than raising the exception.

Handle other errors in `ClientSocket#write`, too, mirroring the Faye
error handling which swallows all `StandardError` on write.
2016-03-20 17:36:22 -07:00
..
authorization_test.rb Support faye-websocket + EventMachine as an option 2016-03-02 12:17:15 +10:30
base_test.rb Merge pull request #23992 from matthewd/em-option 2016-03-04 05:31:48 +10:30
client_socket_test.rb Gracefully handle disconnected clients 2016-03-20 17:36:22 -07:00
cross_site_forgery_test.rb Support faye-websocket + EventMachine as an option 2016-03-02 12:17:15 +10:30
identifier_test.rb Support faye-websocket + EventMachine as an option 2016-03-02 12:17:15 +10:30
multiple_identifiers_test.rb Support faye-websocket + EventMachine as an option 2016-03-02 12:17:15 +10:30
stream_test.rb Gracefully handle disconnected clients 2016-03-20 17:36:22 -07:00
string_identifier_test.rb Support faye-websocket + EventMachine as an option 2016-03-02 12:17:15 +10:30
subscriptions_test.rb Merge pull request #23992 from matthewd/em-option 2016-03-04 05:31:48 +10:30