protocol: remove VersionTLS, used during the gQUIC -> TLS 1.3 transition (#3764)

This commit is contained in:
Marten Seemann 2023-04-19 16:24:34 +02:00 committed by GitHub
parent a753cb13d8
commit 1f57d4e789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 68 additions and 77 deletions

View file

@ -121,7 +121,7 @@ var _ = Describe("Connection", func() {
tracer,
1234,
utils.DefaultLogger,
protocol.VersionTLS,
protocol.Version1,
).(*connection)
streamManager = NewMockStreamManager(mockCtrl)
conn.streamsMap = streamManager
@ -1053,7 +1053,7 @@ var _ = Describe("Connection", func() {
Type: protocol.PacketTypeHandshake,
DestConnectionID: connID,
SrcConnectionID: destConnID,
Version: protocol.VersionTLS,
Version: protocol.Version1,
Length: length,
},
PacketNumberLen: protocol.PacketNumberLen3,
@ -2410,7 +2410,7 @@ var _ = Describe("Client Connection", func() {
tracer,
1234,
utils.DefaultLogger,
protocol.VersionTLS,
protocol.Version1,
).(*connection)
packer = NewMockPacker(mockCtrl)
conn.packer = packer