主权项 |
1. A method for dynamically changing an advertised window for a transport layer connection, the method comprising:
(a) receiving, by a device intermediary to a client and a server, a request from an application to establish a transport layer connection with the server, the application advertising a first window size for the transport layer connection; (b) establishing, by the device, the transport layer connection with the server, the device advertising a second window size to the server, the second window size set to the first window size, the transport layer connection having a maximum segment size; (c) storing, by the device, in memory of the device data received from the server via the transport layer connection; (d) determining, by the device, memory usage of the device is below a predetermined threshold; and (e) increasing, by the device responsive to the determination, the second window size advertised to the server by a predetermined increment of the maximum segment size. |