Patent ID: 8605578
Filing Date: 2013-12-10
Classification: H04L

Abstract:
1. A computer-implemented method for congestion control in a data communications network, the method comprising: receiving, at an endpoint, a first arrived packet of a message for a communication handle associated with the endpoint, the message having a plurality of packets where each packet of the plurality contains message size information and information of the communication handle; determining, by a processor of the endpoint, that a receive memory buffer associated with the communication handle does not have enough free space to store all of the plurality of packets, based on the message size information of the first arrived packet; when the receive memory buffer does not have enough free space to store all of the plurality of packets, dropping the message including all of the plurality of packets; when the message has been dropped, sending first data to a sender of the dropped message to pause data transmission to the communication handle, wherein the first data is a negative acknowledgment of the first arrived packet; after dropping the message, when the receive memory buffer has enough free space to store all of the plurality of packets, (1) sending second data to the sender to resume the data transmission to the communication handle and (2) allocating buffer space, by the processor, in the receive memory buffer; after sending the second data, accepting the plurality of packets into the allocated buffer; dropping subsequent messages sent to the communication handle after the first arrived packet of the dropped message; sending a negative acknowledgment to each respective sender of any dropped subsequent message; and sending the second data to each respective sender of any dropped subsequent message that has been negatively acknowledged when the receive memory buffer has enough free space to store the dropped subsequent message for that respective sender.