describe how a client is supposed to handle multiple tokens #2801
Labels
-transport
editorial
An issue that does not affect the design of the protocol; does not require consensus.
Projects
The spec doesn't define what is a client is supposed to do when it receives multiple NEW_TOKEN frames.
There seem to be multiple reasonable ways to handle this situation:
From the Slack discussion, a better way might be a combination of these two:
When establishing a new connection, use the most recently obtained token first. When establishing another connection to the same server (before receiving a new NEW_TOKEN), use an older token. Client might then want to remember n tokens per endpoint, if they expect to establish n new connections simultaneously (or a few more than n, depending on the network conditions, to account for failed connection establishments).
The text was updated successfully, but these errors were encountered: