mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-06 21:57:36 +03:00
only set the destination connection ID for the Public Header
This commit is contained in:
parent
c9a9b57030
commit
fc57bf6c35
12 changed files with 31 additions and 62 deletions
|
@ -36,7 +36,6 @@ var _ = Describe("Client", func() {
|
|||
b := &bytes.Buffer{}
|
||||
err := (&wire.Header{
|
||||
DestConnectionID: connID,
|
||||
SrcConnectionID: connID,
|
||||
PacketNumber: 1,
|
||||
PacketNumberLen: 1,
|
||||
}).Write(b, protocol.PerspectiveServer, protocol.VersionWhatever)
|
||||
|
@ -755,7 +754,6 @@ var _ = Describe("Client", func() {
|
|||
PacketNumber: 1,
|
||||
PacketNumberLen: protocol.PacketNumberLen2,
|
||||
DestConnectionID: connID,
|
||||
SrcConnectionID: connID,
|
||||
}
|
||||
b := &bytes.Buffer{}
|
||||
err := ph.Write(b, protocol.PerspectiveServer, cl.version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue