Skip to content

Commit

Permalink
Add ACK backlog recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Feb 17, 2023
1 parent 8a05acc commit 4e3ffc1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions yamux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,11 @@ The Length should be set to one of the following to provide an error code:
* 0x0 Normal termination
* 0x1 Protocol error
* 0x2 Internal error

## Implementation considerations

### ACK backlog

Yamux allows for a stream to be opened (and used) before it is acknowledged by the remote.
We defined the ACK backlog as the number of streams that a peer has opened which have not yet been acknowledged.
Implementations SHOULD at most allow an ACK backlog of 256 streams.

0 comments on commit 4e3ffc1

Please sign in to comment.