Merge pull request #2432 from lucas-clemente/max-udp-payload-size

rename the max_packet_size transport parameter to max_udp_payload_size
This commit is contained in:
Marten Seemann
2020-03-23 16:21:03 +07:00
committed by GitHub
8 changed files with 19 additions and 19 deletions

View File

@@ -1436,7 +1436,7 @@ var _ = Describe("Session", func() {
InitialMaxData: 0x5000,
ActiveConnectionIDLimit: 3,
// marshaling always sets it to this value
MaxPacketSize: protocol.MaxReceivePacketSize,
MaxUDPPayloadSize: protocol.MaxReceivePacketSize,
}
streamManager.EXPECT().UpdateLimits(params)
packer.EXPECT().HandleTransportParameters(params)