]> git.feebdaed.xyz Git - 0xmirror/msquic.git/commitdiff
Fix maximum stream count value in Streams.md (#5547)
authorGuillaume Hetier <guhetier@microsoft.com>
Fri, 31 Oct 2025 23:13:38 +0000 (16:13 -0700)
committerGitHub <noreply@github.com>
Fri, 31 Oct 2025 23:13:38 +0000 (23:13 +0000)
Corrected the maximum stream count limit from 2 ^ 16 to 65,535 in the documentation.

docs/Streams.md

index 3887d30253a465dd1dbd79b94761f5f657245737..14f86b78452ad0bac1f7aec02a3a72770c9a1497 100644 (file)
@@ -16,7 +16,7 @@ For this reason, each app controls the number of streams that the peer is allowe
 
 The protocol for synchronizing the maximum stream count is complicated, but MsQuic simplifies it by requiring the app to specify a number of simultaneous streams to allow the peer to open at any time. MsQuic then takes care of updating the maximum stream count for the peer as old streams get shut down.
 
-The app can configure the unidirectional and bidirectional limits separately. **The default value for these is 0.** If the app wants to allow the peer to open any streams, it must set a value. To set the limit on a connection, the app must configure the `PeerBidiStreamCount` and/or `PeerUnidiStreamCount` fields in [QUIC_SETTINGS](api/QUIC_SETTINGS.md) and apply them using [SetParam](api/SetParam.md) with `QUIC_PARAM_CONN_SETTINGS`, or provide them to [ConfigurationOpen](api/ConfigurationOpen.md). MsQuic currently restricts this count to a maximum of 2 ^ 16 (65,536).
+The app can configure the unidirectional and bidirectional limits separately. **The default value for these is 0.** If the app wants to allow the peer to open any streams, it must set a value. To set the limit on a connection, the app must configure the `PeerBidiStreamCount` and/or `PeerUnidiStreamCount` fields in [QUIC_SETTINGS](api/QUIC_SETTINGS.md) and apply them using [SetParam](api/SetParam.md) with `QUIC_PARAM_CONN_SETTINGS`, or provide them to [ConfigurationOpen](api/ConfigurationOpen.md). MsQuic currently restricts this count to a maximum of 65,535.
 
 # Opening and Starting Streams