rails/actioncable/CHANGELOG.md
Matthew Draper 9588a3d66d Merge pull request #26547 from palkan/fix/actioncable-confirmation-race-condition
Avoid race condition on subscription confirmation
2016-10-01 15:18:39 +09:30

823 B

  • Prevent race where the client could receive and act upon a subscription confirmation before the channel's subscribed method completed.

    Fixes #25381.

    Vladimir Dementyev

  • Buffer writes to websocket connections, to avoid blocking threads that could be doing more useful things.

    Matthew Draper, Tinco Andringa

  • Protect against concurrent writes to a websocket connection from multiple threads; the underlying OS write is not always threadsafe.

    Tinco Andringa

  • Add ActiveSupport::Notifications hook to Broadcaster#broadcast.

    Matthew Wear

  • Close hijacked socket when connection is shut down.

    Fixes #25613.

    Tinco Andringa

Please check 5-0-stable for previous changes.