You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* KEEPALIVE timing suggestions
- moved into SETUP where the value is
- include server-to-server and mobile-to-server commentary
* remove newline
* remove change
* soften language for 500ms
Copy file name to clipboardExpand all lines: Protocol.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -282,7 +282,9 @@ Frame Contents
282
282
* (__S__)trict: Adhere to strict interpretation of Data and Metadata.
283
283
*__Major Version__: (16 bits = max value 65,535) Unsigned 16-bit integer of Major version number of the protocol.
284
284
*__Minor Version__: (16 bits = max value 65,535) Unsigned 16-bit integer of Minor version number of the protocol.
285
-
*__Time Between KEEPALIVE Frames__: (31 bits = max value 2^31-1 = 2,147,483,647) Unsigned 31-bit integer of Time (in milliseconds) between KEEPALIVE frames that the client will send. Value MUST be > 0.
285
+
*__Time Between KEEPALIVE Frames__: (31 bits = max value 2^31-1 = 2,147,483,647) Unsigned 31-bit integer of Time (in milliseconds) between KEEPALIVE frames that the client will send. Value MUST be > 0.
286
+
* For server-to-server connections, a reasonable time interval between client KEEPALIVE frames is 500ms.
287
+
* For mobile-to-server connections, the time interval between client KEEPALIVE frames is often > 30,000ms.
286
288
*__Max Lifetime__: (31 bits = max value 2^31-1 = 2,147,483,647) Unsigned 31-bit integer of Time (in milliseconds) that a client will allow a server to not respond to a KEEPALIVE before it is assumed to be dead. Value MUST be > 0.
287
289
*__Resume Identification Token Length__: (16 bits = max value 65,535) Unsigned 16-bit integer of Resume Identification Token Length in bytes. (Not present if R flag is not set)
288
290
*__Resume Identification Token__: Token used for client resume identification (Not present if R flag is not set)
@@ -398,7 +400,6 @@ When a LEASE expires due to time, the value of the __Number of Requests__ that a
398
400
KEEPALIVE frames MUST always use Stream ID 0 as they pertain to the Connection.
399
401
400
402
KEEPALIVE frames MUST be initiated by the client and sent periodically with the (__R__)espond flag set.
401
-
A reasonable time interval between client KEEPALIVE frames SHOULD be 500ms.
402
403
403
404
KEEPALIVE frames MAY be initiated by the server and sent upon application request with the (__R__)espond flag set.
0 commit comments