Patent ID: 7593331

Claim:
An apparatus comprising: one or more processors; and logic encoded in one or more volatile or non-volatile storage media for execution and when executed operable to: receive a plurality of segments for transmission over a Transmission Control Protocol (TCP) connection to a network node, wherein the TCP connection when established is associated with a transmit queue and a retransmit queue; detect a transmission anomaly on the TCP connection to the network node; and in response to detecting the transmission anomaly, perform any one of: prior to transferring first one or more segments of the plurality of segments into the transmit queue, store the first one or more segments into a persistent buffer; copy second one or more segments of the plurality of segments from the retransmit queue into the persistent buffer, wherein the second one or more segments have been transmitted to, but have not yet been acknowledged by, the network node; and copy third one or more segments of the plurality of segments from the transmit queue into the persistent buffer, wherein the third one or more segments have not yet been transmitted to the network node.