don't apply invalid transport parameters (#3700)

This commit is contained in:
Marten Seemann
2023-02-14 11:54:56 +13:00
committed by GitHub
parent e0d4ffffef
commit 7effedea79

View File

@@ -1659,6 +1659,7 @@ func (s *connection) handleTransportParameters(params *wire.TransportParameters)
ErrorCode: qerr.TransportParameterError,
ErrorMessage: err.Error(),
})
return
}
s.peerParams = params
// On the client side we have to wait for handshake completion.