1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-24 04:01:07 +03:00

Update naming of maxStreamGroupsAdvertized to match that of similar variables

Summary: This is a cosmetic change to make the naming consistent for all the advertised* variables in the transport settings.

Reviewed By: sharmafb

Differential Revision: D42465443

fbshipit-source-id: d570cbb1a2ca017105ac335b8efc404cb73f3c57
This commit is contained in:
Joseph Beshay
2023-01-26 12:22:38 -08:00
committed by Facebook GitHub Bot
parent 6a296008e0
commit b801d9b61d
12 changed files with 39 additions and 39 deletions

View File

@@ -132,7 +132,7 @@ void processServerInitialParams(
serverParams.parameters);
auto maxDatagramFrameSize = getIntegerParameter(
TransportParameterId::max_datagram_frame_size, serverParams.parameters);
auto peerMaxStreamGroupsAdvertized = getIntegerParameter(
auto peerAdvertisedMaxStreamGroups = getIntegerParameter(
static_cast<TransportParameterId>(
TransportParameterId::stream_groups_enabled),
serverParams.parameters);
@@ -248,8 +248,8 @@ void processServerInitialParams(
conn.datagramState.maxWriteFrameSize = maxDatagramFrameSize.value();
}
if (peerMaxStreamGroupsAdvertized) {
conn.peerMaxStreamGroupsAdvertized = *peerMaxStreamGroupsAdvertized;
if (peerAdvertisedMaxStreamGroups) {
conn.peerAdvertisedMaxStreamGroups = *peerAdvertisedMaxStreamGroups;
}
if (isAckReceiveTimestampsEnabled.has_value() &&