mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
rename the wire.Header to ExtendedHeader
It's not encrypted yet.
This commit is contained in:
parent
cef26922b4
commit
bf96707f48
17 changed files with 92 additions and 93 deletions
|
@ -22,7 +22,7 @@ type packetData []byte
|
|||
var _ = Describe("QUIC Proxy", func() {
|
||||
makePacket := func(p protocol.PacketNumber, payload []byte) []byte {
|
||||
b := &bytes.Buffer{}
|
||||
hdr := wire.Header{
|
||||
hdr := wire.ExtendedHeader{
|
||||
PacketNumber: p,
|
||||
PacketNumberLen: protocol.PacketNumberLen4,
|
||||
DestConnectionID: protocol.ConnectionID{0xde, 0xad, 0xbe, 0xef, 0, 0, 0x13, 0x37},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue