add the TokenStore to the quic.Config, store received tokens

This commit is contained in:
Marten Seemann
2019-08-08 12:29:35 +07:00
parent fe0f7aff3b
commit 9c97a5e95f
7 changed files with 123 additions and 4 deletions

View File

@@ -253,6 +253,7 @@ func populateClientConfig(config *Config, createdPacketConn bool) *Config {
KeepAlive: config.KeepAlive,
StatelessResetKey: config.StatelessResetKey,
QuicTracer: config.QuicTracer,
TokenStore: config.TokenStore,
}
}