Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

[Keep-Alive] Server pinging #1156

@analogrelay

Description

@analogrelay

As part of keep-alive, we want the client to automatically consider a connection terminated if the server hasn't sent anything in a while. In order for that to work, the server needs to send Ping messages frequently. However, we only want to do this for the WebSockets and Server-Sent Events transports. For Long Polling, it would disrupt the "long poll" by ending it prematurely and is unnecessary since the transport already supports a "reconnection" mechanic for issues inherent to long polling.

Related: #1157

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions