mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +03:00
rename connection ID truncation to connection ID omission
This commit is contained in:
parent
8d273d30af
commit
9cb7480050
21 changed files with 111 additions and 112 deletions
|
@ -21,10 +21,10 @@ var _ = Describe("QUIC Proxy", func() {
|
|||
makePacket := func(p protocol.PacketNumber, payload []byte) []byte {
|
||||
b := &bytes.Buffer{}
|
||||
hdr := wire.PublicHeader{
|
||||
PacketNumber: p,
|
||||
PacketNumberLen: protocol.PacketNumberLen6,
|
||||
ConnectionID: 1337,
|
||||
TruncateConnectionID: false,
|
||||
PacketNumber: p,
|
||||
PacketNumberLen: protocol.PacketNumberLen6,
|
||||
ConnectionID: 1337,
|
||||
OmitConnectionID: false,
|
||||
}
|
||||
hdr.Write(b, protocol.VersionWhatever, protocol.PerspectiveServer)
|
||||
raw := b.Bytes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue