rename {Stream,Connection}FlowControlWindow to InitialMax{Stream}Data

This commit is contained in:
Marten Seemann 2018-10-30 10:31:30 +07:00
parent 74c5e9a26c
commit a1acfc3045
8 changed files with 54 additions and 54 deletions

View file

@ -397,12 +397,12 @@ func (c *client) handleRetryPacket(hdr *wire.Header) {
func (c *client) createNewTLSSession(version protocol.VersionNumber) error {
params := &handshake.TransportParameters{
StreamFlowControlWindow: protocol.ReceiveStreamFlowControlWindow,
ConnectionFlowControlWindow: protocol.ReceiveConnectionFlowControlWindow,
IdleTimeout: c.config.IdleTimeout,
MaxBidiStreams: uint16(c.config.MaxIncomingStreams),
MaxUniStreams: uint16(c.config.MaxIncomingUniStreams),
DisableMigration: true,
InitialMaxStreamData: protocol.InitialMaxStreamData,
InitialMaxData: protocol.InitialMaxData,
IdleTimeout: c.config.IdleTimeout,
MaxBidiStreams: uint16(c.config.MaxIncomingStreams),
MaxUniStreams: uint16(c.config.MaxIncomingUniStreams),
DisableMigration: true,
}
c.mutex.Lock()