pass a conn to qtls that returns the remote address

This commit is contained in:
Marten Seemann
2019-03-25 16:59:35 +01:00
parent b2723d6d13
commit da4b3e3176
4 changed files with 37 additions and 2 deletions

View File

@@ -196,6 +196,7 @@ var newSession = func(
handshakeStream,
oneRTTStream,
clientDestConnID,
conn.RemoteAddr(),
params,
s.processTransportParameters,
tlsConf,
@@ -263,6 +264,7 @@ var newClientSession = func(
handshakeStream,
oneRTTStream,
s.destConnID,
conn.RemoteAddr(),
params,
s.processTransportParameters,
tlsConf,