mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-07 07:07:37 +03:00
Revert "Update quic-go"
This reverts commit f9f68cf0a3
.
quic-go >= 1.0.35 panics
We may not be using the new API correctly.
This commit is contained in:
parent
f42b7dad17
commit
23a6cd7504
112 changed files with 2571 additions and 5590 deletions
2
vendor/github.com/quic-go/quic-go/internal/wire/header.go
generated
vendored
2
vendor/github.com/quic-go/quic-go/internal/wire/header.go
generated
vendored
|
@ -13,6 +13,8 @@ import (
|
|||
)
|
||||
|
||||
// ParseConnectionID parses the destination connection ID of a packet.
|
||||
// It uses the data slice for the connection ID.
|
||||
// That means that the connection ID must not be used after the packet buffer is released.
|
||||
func ParseConnectionID(data []byte, shortHeaderConnIDLen int) (protocol.ConnectionID, error) {
|
||||
if len(data) == 0 {
|
||||
return protocol.ConnectionID{}, io.EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue