mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
set the LocalAddr that is used in the tls.ClientHelloInfo.Conn
This commit is contained in:
parent
abf55af7e9
commit
f034e8ba19
5 changed files with 31 additions and 6 deletions
|
@ -89,6 +89,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
&bytes.Buffer{},
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
NewMockHandshakeRunner(mockCtrl),
|
||||
tlsConf,
|
||||
|
@ -120,6 +121,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
runner,
|
||||
testdata.GetTLSConfig(),
|
||||
|
@ -157,6 +159,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
runner,
|
||||
testdata.GetTLSConfig(),
|
||||
|
@ -197,6 +200,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
runner,
|
||||
serverConf,
|
||||
|
@ -230,6 +234,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
NewMockHandshakeRunner(mockCtrl),
|
||||
serverConf,
|
||||
|
@ -323,6 +328,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
cHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
cRunner,
|
||||
clientConf,
|
||||
|
@ -344,6 +350,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{StatelessResetToken: &token},
|
||||
sRunner,
|
||||
serverConf,
|
||||
|
@ -396,6 +403,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
cHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
runner,
|
||||
&tls.Config{InsecureSkipVerify: true},
|
||||
|
@ -436,6 +444,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
cHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
cTransportParameters,
|
||||
cRunner,
|
||||
clientConf,
|
||||
|
@ -458,6 +467,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
sTransportParameters,
|
||||
sRunner,
|
||||
serverConf,
|
||||
|
@ -489,6 +499,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
cHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
cRunner,
|
||||
clientConf,
|
||||
|
@ -506,6 +517,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
sRunner,
|
||||
serverConf,
|
||||
|
@ -544,6 +556,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
cHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
cRunner,
|
||||
clientConf,
|
||||
|
@ -561,6 +574,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
sRunner,
|
||||
serverConf,
|
||||
|
@ -671,6 +685,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
cHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
cRunner,
|
||||
clientConf,
|
||||
|
@ -688,6 +703,7 @@ var _ = Describe("Crypto Setup TLS", func() {
|
|||
sHandshakeStream,
|
||||
protocol.ConnectionID{},
|
||||
nil,
|
||||
nil,
|
||||
&TransportParameters{},
|
||||
sRunner,
|
||||
serverConf,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue