move the transport parameters from the handshake to the wire package

This commit is contained in:
Marten Seemann
2020-03-13 16:20:11 +07:00
parent 699c988917
commit 0ef4f06189
17 changed files with 82 additions and 86 deletions

View File

@@ -6,6 +6,7 @@ import (
"time"
"github.com/lucas-clemente/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire"
"github.com/marten-seemann/qtls"
)
@@ -61,7 +62,7 @@ type tlsExtensionHandler interface {
}
type handshakeRunner interface {
OnReceivedParams(*TransportParameters)
OnReceivedParams(*wire.TransportParameters)
OnHandshakeComplete()
OnError(error)
DropKeys(protocol.EncryptionLevel)