read and write the stream id limits sent in the TLS handshake

This commit is contained in:
Marten Seemann
2018-02-04 16:18:36 +08:00
parent 8b04cd2bde
commit cd4bcda458
5 changed files with 26 additions and 16 deletions

View File

@@ -4,7 +4,6 @@ import (
"bytes"
"errors"
"fmt"
"math"
"github.com/lucas-clemente/quic-go/qerr"
@@ -105,8 +104,6 @@ func (h *extensionHandlerServer) Receive(hType mint.HandshakeType, el *mint.Exte
if err != nil {
return err
}
// TODO(#878): remove this when implementing the MAX_STREAM_ID frame
params.MaxStreams = math.MaxUint32
h.paramsChan <- *params
return nil
}