Marten Seemann
07d4fd0991
use the new qtls interface for (re)storing app data with a session state
...
Application data is now retrieved and restored via two callbacks on the
qtls.Config. This allows us the get rid of the rather complex wrapping
of the qtls.ClientSessionCache. Furthermore, it makes sure that we only
restore the application data when qtls decides to actually use the
ticket.
2020-07-01 14:00:08 +07:00
Marten Seemann
3ac2fb3161
make quic-go build with both Go 1.13 and 1.14
2020-04-09 07:51:18 +07:00
Marten Seemann
8fd2674ce4
fix conversion of qtls.ClientHelloInfo in GetCertificate
2020-04-08 16:19:45 +07:00
Marten Seemann
66d50b4289
fix conversion of qtls.ClientHelloInfo in GetConfigForClient
2020-04-08 15:56:30 +07:00
Marten Seemann
6fe4878f0e
update to qtls based on Go 1.14's TLS implementation
2020-02-28 16:48:29 +07:00
Marten Seemann
539097fc6e
return a quic.ConnectionState from Session.ConnectionState()
2020-01-30 09:21:09 +07:00
Marten Seemann
1f8a47af02
implement a ClientSessionCache that can save application data
2020-01-01 18:04:02 +04:00
Marten Seemann
b2723d6d13
make the ClientSessionCache work with qtls
2019-04-01 11:45:16 +09:00
Marten Seemann
09574a6653
expose the tls.ConnectionState
2019-03-31 23:56:24 +09:00