Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in OnReceivedTransportParameters function #52

Open
duncanmcl opened this issue Nov 27, 2024 · 0 comments
Open

Problem in OnReceivedTransportParameters function #52

duncanmcl opened this issue Nov 27, 2024 · 0 comments

Comments

@duncanmcl
Copy link

In QuicSocketBase::OnReceivedTransportParameters function quic-socket-base.cc, this part of the source code causes an immediate return when m_initial_max_stream_id_uni has its default value of 2. As a result, the rest of the OnReceivedTransportParameters function, which sets the transport values, is not processed.

mask = transportParameters.GetInitialMaxStreamIdUni () & 0x00000003;
if ((mask == 2) && m_socketState != CONNECTING_CLT)
{
// TODO AbortConnection(QuicSubheader::TransportErrorCodes_t::TRANSPORT_PARAMETER_ERROR, "Invalid Initial Max Stream Id Uni value provided from Server");
return;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant