mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-24 04:01:07 +03:00
remove setCustomTransportParameter helper function
Summary: - Remove setCustomTransportParameter, which (based on the quic v19 rfc), verifies whether a parameter is within the private range [0xff00, 0xffff] > Values with the first byte in the range 0x00 to 0xfe (in hexadecimal) are assigned via the Specification Required policy [RFC8126]. - Consolidating adding MaxStreamGroups transport parameter into all other transport parameters extension. More specifically, `QuicClientTransport::maybeEnableStreamGroups()` logic is now moved into `QuicClientTransport::setSupportedExtensionTransportParameters()` Reviewed By: mjoras Differential Revision: D50461610 fbshipit-source-id: 802b546c8364586cdcf36a230b156ca140c57ce4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1ded40bd8a
commit
905554ecd3
@@ -361,8 +361,7 @@ TEST_P(
|
||||
CustomIntegralTransportParameter streamGroupsEnabledParam(
|
||||
static_cast<uint64_t>(TransportParameterId::stream_groups_enabled),
|
||||
GetParam().peerMaxGroupsIn);
|
||||
CHECK(
|
||||
setCustomTransportParameter(streamGroupsEnabledParam, transportParams));
|
||||
transportParams.push_back(streamGroupsEnabledParam.encode());
|
||||
}
|
||||
ClientTransportParameters clientTransportParams = {
|
||||
std::move(transportParams)};
|
||||
|
||||
Reference in New Issue
Block a user