mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
use the new packet header for connections using TLS
This commit is contained in:
parent
6c394acde7
commit
4556ad01e5
18 changed files with 631 additions and 421 deletions
|
@ -31,14 +31,14 @@ var _ quicAEAD = &mockAEAD{}
|
|||
var _ = Describe("Packet unpacker", func() {
|
||||
var (
|
||||
unpacker *packetUnpacker
|
||||
hdr *wire.PublicHeader
|
||||
hdr *wire.Header
|
||||
hdrBin []byte
|
||||
data []byte
|
||||
buf *bytes.Buffer
|
||||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
hdr = &wire.PublicHeader{
|
||||
hdr = &wire.Header{
|
||||
PacketNumber: 10,
|
||||
PacketNumberLen: 1,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue