forked from quic-go/quic-go
run misspell in gometalinter
This commit is contained in:
@@ -148,7 +148,7 @@ func parsePublicHeader(b *bytes.Reader, packetSentBy protocol.Perspective) (*Hea
|
||||
|
||||
// Version (optional)
|
||||
if !header.ResetFlag && header.VersionFlag {
|
||||
if packetSentBy == protocol.PerspectiveServer { // parse the version negotiaton packet
|
||||
if packetSentBy == protocol.PerspectiveServer { // parse the version negotiation packet
|
||||
if b.Len() == 0 {
|
||||
return nil, qerr.Error(qerr.InvalidVersionNegotiationPacket, "empty version list")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user