mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-06 22:57:37 +03:00
Update quic-go
This commit is contained in:
parent
d48c811ea9
commit
c86e9a90cc
33 changed files with 419 additions and 222 deletions
4
vendor/github.com/quic-go/quic-go/internal/wire/header.go
generated
vendored
4
vendor/github.com/quic-go/quic-go/internal/wire/header.go
generated
vendored
|
@ -74,6 +74,10 @@ func parseArbitraryLenConnectionIDs(r *bytes.Reader) (dest, src protocol.Arbitra
|
|||
return destConnID, srcConnID, nil
|
||||
}
|
||||
|
||||
func IsPotentialQUICPacket(firstByte byte) bool {
|
||||
return firstByte&0x40 > 0
|
||||
}
|
||||
|
||||
// IsLongHeaderPacket says if this is a Long Header packet
|
||||
func IsLongHeaderPacket(firstByte byte) bool {
|
||||
return firstByte&0x80 > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue