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

@ -995,10 +995,10 @@ var _ = Describe("Session", func() {
sess.run()
}()
params := &handshake.TransportParameters{
IdleTimeout: 90 * time.Second,
StreamFlowControlWindow: 0x5000,
ConnectionFlowControlWindow: 0x5000,
MaxPacketSize: 0x42,
IdleTimeout: 90 * time.Second,
InitialMaxStreamData: 0x5000,
InitialMaxData: 0x5000,
MaxPacketSize: 0x42,
}
streamManager.EXPECT().UpdateLimits(params)
packer.EXPECT().HandleTransportParameters(params)