Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

improved keep alive handling #297

Merged
merged 2 commits into from
Dec 1, 2017
Merged

Conversation

NeoPhi
Copy link
Contributor

@NeoPhi NeoPhi commented Oct 27, 2017

While updating our backend server to the latest version of this package we noticed backwards compatible issues with clients that were still on v1 of the protocol. These two fixes ensure that old clients get the deprecated keep alive message and that those messages are not sent until the client successfully establishes a connection (otherwise a keep alive of the wrong message type maybe sent).

TODO:

  • Make sure all of the significant new logic is covered by tests
  • Rebase your changes on master so that they can be merged easily
  • Make sure all tests and linter rules pass
  • Update CHANGELOG.md with your change

don't send keep alive until the connection is established
@NeoPhi NeoPhi requested a review from mistic October 27, 2017 17:07
@NeoPhi NeoPhi merged commit 7482425 into apollographql:master Dec 1, 2017
@NeoPhi NeoPhi deleted the NeoPhi-keepalive branch December 1, 2017 15:52
baconz pushed a commit to PhiloInc/subscriptions-transport-ws that referenced this pull request Apr 24, 2018
chore(package):fix badges in readme after org rename.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant