Patent ID: 7698453

Claim:
A method for handling by an intermediary device retransmission and acknowledgements of data packets transmitted from a sender to a recipient over a network, the method comprising: receiving, by an intermediary device configured as a proxy, data packets from the sender; transmitting, by the intermediary device, the received data packets downstream to the recipient; pre-acknowledging, by the intermediary device, a predetermined fraction of the received data packets by sending acknowledgments for the predetermined fraction of the data packets to the sender before receiving acknowledgements from a downstream entity for the data packets; and controlling, by the intermediary device, an overflow of data packets received from the sender by sending a packet to the sender indicating a nonzero window upon determining buffer space in a flow control module for a predetermined number of packets is available; wherein controlling the overflow of data packets received from the sender comprises sending, by the intermediary device, a packet to the sender, wherein the packet includes a TCP window having a size that is set proportional to the predetermined fraction of the data packets to allow the sender to transmit a desired number of packets.