move processing of transport parameters to the session

This commit is contained in:
Marten Seemann
2019-02-01 17:30:40 +09:00
parent a95b7c2868
commit 2712626e66
13 changed files with 626 additions and 763 deletions

View File

@@ -25,7 +25,7 @@ type Sealer interface {
type tlsExtensionHandler interface {
GetExtensions(msgType uint8) []qtls.Extension
ReceivedExtensions(msgType uint8, exts []qtls.Extension) error
TransportParameters() <-chan TransportParameters
TransportParameters() <-chan []byte
}
// CryptoSetup handles the handshake and protecting / unprotecting packets