forked from quic-go/quic-go
change the type of Connection ID to byte slice
This commit is contained in:
@@ -123,7 +123,7 @@ var _ = Describe("Client Crypto Setup", func() {
|
||||
csInt, dnc, err := NewCryptoSetupClient(
|
||||
stream,
|
||||
"hostname",
|
||||
0,
|
||||
protocol.ConnectionID{1, 2, 3, 4, 5, 6, 7, 8},
|
||||
version,
|
||||
nil,
|
||||
&TransportParameters{IdleTimeout: protocol.DefaultIdleTimeout},
|
||||
|
||||
@@ -161,7 +161,7 @@ var _ = Describe("Server Crypto Setup", func() {
|
||||
supportedVersions = []protocol.VersionNumber{version, 98, 99}
|
||||
csInt, err := NewCryptoSetup(
|
||||
stream,
|
||||
protocol.ConnectionID(42),
|
||||
protocol.ConnectionID{1, 2, 3, 4, 5, 6, 7, 8},
|
||||
remoteAddr,
|
||||
version,
|
||||
make([]byte, 32), // div nonce
|
||||
|
||||
@@ -200,7 +200,7 @@ var _ = Describe("TLS Crypto Setup, for the client", func() {
|
||||
handshakeEvent = make(chan struct{})
|
||||
csInt, err := NewCryptoSetupTLSClient(
|
||||
nil,
|
||||
0,
|
||||
protocol.ConnectionID{1, 2, 3, 4, 5, 6, 7, 8},
|
||||
"quic.clemente.io",
|
||||
handshakeEvent,
|
||||
nil, // mintTLS
|
||||
|
||||
Reference in New Issue
Block a user