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

@@ -5,6 +5,7 @@ import (
"time"
"github.com/lucas-clemente/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
@@ -13,7 +14,7 @@ import (
var _ = Describe("Session Ticket", func() {
It("marshals and unmarshals a session ticket", func() {
ticket := &sessionTicket{
Parameters: &TransportParameters{
Parameters: &wire.TransportParameters{
InitialMaxStreamDataBidiLocal: 1,
InitialMaxStreamDataBidiRemote: 2,
},