mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 21:27:35 +03:00
add the exhaustive linter
This commit is contained in:
parent
2781606ded
commit
55a07c34ee
16 changed files with 25 additions and 0 deletions
internal/wire
|
@ -268,6 +268,7 @@ func (p *TransportParameters) readNumericTransportParameter(
|
|||
if remainingLen-r.Len() != expectedLen {
|
||||
return fmt.Errorf("inconsistent transport parameter length for %d", paramID)
|
||||
}
|
||||
//nolint:exhaustive // This only covers the numeric transport parameters.
|
||||
switch paramID {
|
||||
case initialMaxStreamDataBidiLocalParameterID:
|
||||
p.InitialMaxStreamDataBidiLocal = protocol.ByteCount(val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue